Skip to content

Commit 366e566

Browse files
committed
Update Workflows
1 parent 02d7043 commit 366e566

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

.github/workflows/dev.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ jobs:
3838
with:
3939
fetch-depth: 0
4040

41+
- name: "Debug CTX github"
42+
continue-on-error: true
43+
env:
44+
GITHUB_CTX: ${{ toJSON(github) }}
45+
run: echo "$GITHUB_CTX"
46+
4147
- name: "Setup Node 24"
4248
uses: actions/setup-node@v6
4349
with:

.github/workflows/lint.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ jobs:
1818
- name: "Checkout"
1919
uses: actions/checkout@v5
2020

21-
- name: "Setup Node 22"
21+
- name: "Debug CTX github"
22+
continue-on-error: true
23+
env:
24+
GITHUB_CTX: ${{ toJSON(github) }}
25+
run: echo "$GITHUB_CTX"
26+
27+
- name: "Setup Node 24"
2228
uses: actions/setup-node@v6
2329
with:
24-
node-version: 22
25-
#cache: npm
30+
node-version: 24
2631

2732
- name: "Install"
2833
run: |

.github/workflows/pages.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,16 @@ jobs:
3333
with:
3434
fetch-depth: 0
3535

36-
- name: "Setup Node 22"
36+
- name: "Debug CTX github"
37+
continue-on-error: true
38+
env:
39+
GITHUB_CTX: ${{ toJSON(github) }}
40+
run: echo "$GITHUB_CTX"
41+
42+
- name: "Setup Node 24"
3743
uses: actions/setup-node@v6
3844
with:
39-
node-version: 22
40-
cache: npm
45+
node-version: 24
4146

4247
- name: "Configure Pages"
4348
uses: actions/configure-pages@v5
@@ -69,9 +74,6 @@ jobs:
6974
name: github-pages
7075
url: ${{ steps.deployment.outputs.page_url }}
7176

72-
outputs:
73-
page_url: ${{ steps.deployment.outputs.page_url }}
74-
7577
steps:
7678
- name: "Deploy Pages"
7779
id: deployment
@@ -83,6 +85,7 @@ jobs:
8385
uses: sarisia/actions-status-discord@v1
8486
with:
8587
webhook: ${{ secrets.DISCORD_WEBHOOK }}
88+
description: ${{ steps.deployment.outputs.page_url }}
8689

8790
post:
8891
name: "Post-Deploy"
@@ -104,4 +107,4 @@ jobs:
104107
uses: sarisia/actions-status-discord@v1
105108
with:
106109
webhook: ${{ secrets.DISCORD_WEBHOOK }}
107-
description: ${{ needs.deploy.outputs.page_url }}
110+
description: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)