@@ -37,29 +37,29 @@ jobs:
37
37
secrets : inherit
38
38
39
39
# Trigger deployment for staging
40
- # deploy:
41
- # name: trigger staging deployment
42
- # needs:
43
- # - build
44
- # runs-on: ubuntu-22.04
45
- # steps:
46
- # - name: Dispatch Deployment
47
- # run: |
48
- # curl --request POST \
49
- # --url 'https://api.github.com/repos/${{ secrets.PRIVATE_REPO_OWNER }}/${{ secrets.PRIVATE_REPO_NAME }}/dispatches' \
50
- # --header 'Accept: application/vnd.github+json' \
51
- # --header 'Authorization: Bearer ${{ secrets.GH_PAT }}' \
52
- # --header 'X-GitHub-Api-Version: 2022-11-28' \
53
- # --header 'Content-Type: application/json' \
54
- # --data '{
55
- # "event_type": "deploy-staging",
56
- # "client_payload": {
57
- # "actor": "${{ github.actor }}",
58
- # "ref": "${{ github.sha }}",
59
- # "pulumiRefresh": "true",
60
- # "hiveAppUsePersistedDocuments": "true"
61
- # }
62
- # }'
40
+ deploy :
41
+ name : trigger staging deployment
42
+ needs :
43
+ - build
44
+ runs-on : ubuntu-22.04
45
+ steps :
46
+ - name : Dispatch Deployment
47
+ run : |
48
+ curl --request POST \
49
+ --url 'https://api.github.com/repos/${{ secrets.PRIVATE_REPO_OWNER }}/${{ secrets.PRIVATE_REPO_NAME }}/dispatches' \
50
+ --header 'Accept: application/vnd.github+json' \
51
+ --header 'Authorization: Bearer ${{ secrets.GH_PAT }}' \
52
+ --header 'X-GitHub-Api-Version: 2022-11-28' \
53
+ --header 'Content-Type: application/json' \
54
+ --data '{
55
+ "event_type": "deploy-staging",
56
+ "client_payload": {
57
+ "actor": "${{ github.actor }}",
58
+ "ref": "${{ github.sha }}",
59
+ "pulumiRefresh": "true",
60
+ "hiveAppUsePersistedDocuments": "true"
61
+ }
62
+ }'
63
63
64
64
# ESLint and Prettier
65
65
code-style :
0 commit comments