Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmightyMikkel committed Jun 19, 2024
1 parent e2729af commit 424a708
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ jobs:
strategy:
fail-fast: false
steps:
- name: Setup Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ SECRETS.CI_TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ SECRETS.CI_TS_OAUTH_SECRET }}
tags: tag:ci
- name: Ping stage
- name: Configure variables
run: |
curl -X POST "${{ SECRETS.LL_STAGE_URL }}/game/v2/session/guest" -H "Content-Type: application/json" -d "{\"game_key\": \"dev_dc52acb52a8b49be81761e709f1df9fd\", \"game_version\": \"0.10.0.0\"}"
- name: Echo Stage
if: ${{ vars.LL_USE_STAGE == 'true' }}
run: echo stage
- name: Echo prod
if: ${{ vars.LL_USE_STAGE == 'false' }}
run: echo prod
test ${{ vars.LL_USE_STAGE }} == 'true' && echo hello
#- name: Setup Tailscale
# if: ${{ vars.LL_USE_STAGE == 'true' }}
# uses: tailscale/github-action@v2
# with:
# oauth-client-id: ${{ SECRETS.CI_TS_OAUTH_CLIENT_ID }}
# oauth-secret: ${{ SECRETS.CI_TS_OAUTH_SECRET }}
# tags: tag:ci
#- name: Ping env
# run: |
# curl -X POST "${{ SECRETS.LL_STAGE_URL }}/game/v2/session/guest" -H "Content-Type: application/json" -d "{\"game_key\": \"dev_dc52acb52a8b49be81761e709f1df9fd\", \"game_version\": \"0.10.0.0\"}"

0 comments on commit 424a708

Please sign in to comment.