File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed
Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 11name : " Dev"
22
33on :
4+ workflow_dispatch :
45 push :
56 paths :
67 - " .github/workflows/dev.yaml"
78 - " .vitepress/**"
89 - " docs/**"
910 - " package*.json"
10- workflow_dispatch :
1111
1212env :
1313 SSH_HOST : ${{ secrets.DEV_DEPLOY_HOST }}
3737 with :
3838 fetch-depth : 0
3939
40+ - name : " Debug CTX github"
41+ continue-on-error : true
42+ env :
43+ GITHUB_CTX : ${{ toJSON(github) }}
44+ run : echo "$GITHUB_CTX"
45+
4046 - name : " Setup Node 24"
4147 uses : actions/setup-node@v6
4248 with :
Original file line number Diff line number Diff line change 1818 - name : " Checkout"
1919 uses : actions/checkout@v5
2020
21+ - name : " Debug CTX github"
22+ continue-on-error : true
23+ env :
24+ GITHUB_CTX : ${{ toJSON(github) }}
25+ run : echo "$GITHUB_CTX"
26+
2127 - name : " Setup Node 24"
2228 uses : actions/setup-node@v6
2329 with :
Original file line number Diff line number Diff line change 3333 with :
3434 fetch-depth : 0
3535
36+ - name : " Debug CTX github"
37+ continue-on-error : true
38+ env :
39+ GITHUB_CTX : ${{ toJSON(github) }}
40+ run : echo "$GITHUB_CTX"
41+
3642 - name : " Setup Node 24"
3743 uses : actions/setup-node@v6
3844 with :
6874 name : github-pages
6975 url : ${{ steps.deployment.outputs.page_url }}
7076
71- outputs :
72- page_url : ${{ steps.deployment.outputs.page_url }}
73-
7477 steps :
7578 - name : " Deploy Pages"
7679 id : deployment
8285 uses : sarisia/actions-status-discord@v1
8386 with :
8487 webhook : ${{ secrets.DISCORD_WEBHOOK }}
88+ description : ${{ steps.deployment.outputs.page_url }}
8589
8690 post :
8791 name : " Post-Deploy"
@@ -103,4 +107,4 @@ jobs:
103107 uses : sarisia/actions-status-discord@v1
104108 with :
105109 webhook : ${{ secrets.DISCORD_WEBHOOK }}
106- description : ${{ needs.deploy.outputs.page_url }}
110+ description : ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
You can’t perform that action at this time.
0 commit comments