Skip to content

Commit 70df884

Browse files
authored
Updates (#8)
1 parent cb9db32 commit 70df884

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

.github/workflows/dev.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: "Dev"
22

33
on:
4+
workflow_dispatch:
45
push:
56
paths:
67
- ".github/workflows/dev.yaml"
78
- ".vitepress/**"
89
- "docs/**"
910
- "package*.json"
10-
workflow_dispatch:
1111

1212
env:
1313
SSH_HOST: ${{ secrets.DEV_DEPLOY_HOST }}
@@ -37,6 +37,12 @@ jobs:
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:

.github/workflows/lint.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
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:

.github/workflows/pages.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
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:
@@ -68,9 +74,6 @@ jobs:
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
@@ -82,6 +85,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)