Skip to content

Commit

Permalink
hello
Browse files Browse the repository at this point in the history
  • Loading branch information
Long Le authored and Long Le committed Sep 16, 2024
1 parent a3f801c commit 2b35628
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tyk-env-promotion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Create .tyk.json
run: |
cd ./stg
cd ./${{ inputs.environment }}
echo '{' > .tyk.json
echo ' "type": "apidef",' >> .tyk.json
echo ' "files": [' >> .tyk.json
Expand All @@ -43,7 +43,8 @@ jobs:
TYK_DASHBOARD_URL: ${{ inputs.environment == 'stg' && secrets.TYK_STG_DASHBOARD_URL || secrets.TYK_PROD_DASHBOARD_URL }}
TYK_DASHBOARD_SECRET: ${{ inputs.environment == 'stg' && secrets.TYK_STG_DASHBOARD_SECRET || secrets.TYK_PROD_DASHBOARD_SECRET }}
run: |
cd ./${{ inputs.environment }}
pwd
ls -Rla
echo "${{ github.workspace }}"
docker run ${TYK_SYNC_REPO}:${TYK_SYNC_VERSION} version
docker run -v ${{ github.workspace }}:/app/data ${TYK_SYNC_REPO}:${TYK_SYNC_VERSION} sync --path /app/data --dashboard ${TYK_DASHBOARD_URL} --secret ${TYK_DASHBOARD_SECRET}

0 comments on commit 2b35628

Please sign in to comment.