@@ -18,34 +18,31 @@ jobs:
1818
1919 steps :
2020
21- -
uses :
github/branch-deploy@e0b8fec9f3b1c48ea3dddeedca59af02e4d69a53 # [email protected] .021+ - uses : github/branch-deploy@v5.1 .0
2222 id : branch-deploy
2323 with :
2424 admins : the-hideout/core-contributors
2525 admins_pat : ${{ secrets.BRANCH_DEPLOY_ADMINS_PAT }}
26+ environment_targets : production,development
27+ environment_urls : production|https://api.tarkov.dev/graphql,development|https://dev-api.tarkov.dev/graphql
2628
2729 - name : Checkout
2830 if : ${{ steps.branch-deploy.outputs.continue == 'true' }}
29- uses : actions/checkout@v3 # pin@v3
31+ uses : actions/checkout@v3.3.0
3032 with :
3133 ref : ${{ steps.branch-deploy.outputs.ref }}
3234
3335 - name : Use Node.js 16
3436 if : ${{ steps.branch-deploy.outputs.continue == 'true' }}
35- uses : actions/setup-node@v3 # pin@v3
37+ uses : actions/setup-node@v3.6.0
3638 with :
3739 node-version : 16
40+ cache : npm
3841
3942 - name : Install dependencies
4043 if : ${{ steps.branch-deploy.outputs.continue == 'true' }}
4144 run : npm ci
4245
43- - name : Test
44- if : ${{ steps.branch-deploy.outputs.continue == 'true' }}
45- env :
46- CF_API_TOKEN : ${{ secrets.CF_API_TOKEN }}
47- run : script/test
48-
4946 - name : Publish - Development
5047 if : ${{ steps.branch-deploy.outputs.environment == 'development' &&
5148 steps.branch-deploy.outputs.noop != 'true' &&
6764 The API has been **deployed** to the **development** environment 🚀
6865
6966 - Endpoint: \`dev-api.tarkov.dev\`
70- - Playground: [dev-api.tarkov.dev/___graphql](https://dev-api.tarkov.dev/___graphql )
67+ - Playground: [dev-api.tarkov.dev/___graphql](https://dev-api.tarkov.dev/graphql )
7168
7269 > Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Workflow: \`${{ github.workflow }}\`;
7370
9188 The API has been **deployed** to the **production** environment 🚀
9289
9390 - Endpoint: \`api.tarkov.dev\`
94- - Playground: [api.tarkov.dev/___graphql](https://api.tarkov.dev/___graphql )
91+ - Playground: [api.tarkov.dev/___graphql](https://api.tarkov.dev/graphql )
9592
9693 > Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Workflow: \`${{ github.workflow }}\`;
0 commit comments