Skip to content

Commit fe88896

Browse files
authored
Fixing problem pushing docs (GH_PAT had expired, and the publish task needed force_orphan: true)
* add echo task * wip * wip * remove echo of GH_PAT partial
1 parent fa7a07a commit fe88896

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,20 @@ jobs:
1212
test:
1313
runs-on: ubuntu-latest
1414

15+
env:
16+
ACTIONS_STEP_DEBUG: true # Enable debug logging globally for this job
17+
1518
steps:
1619
- name: Checkout code
17-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
1821

1922
- name: Set up Apache Pulsar
2023
uses: reugn/github-action-pulsar@v1
2124

2225
- name: Use Node.js
23-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v4
2427
with:
25-
node-version: '19.9.0' # Use your desired Node.js version
28+
node-version: '19.9.0'
2629

2730
- name: Install dependencies
2831
run: npm ci
@@ -36,12 +39,15 @@ jobs:
3639
with:
3740
name: npm-debug-log
3841
path: /home/runner/.npm/_logs/*-debug.log
42+
if-no-files-found: warn
3943

4044
- name: Generate TypeDocs
4145
run: npm run docs
4246

4347
- name: Deploy TypeDocs
44-
uses: peaceiris/actions-gh-pages@v3.9.3
48+
uses: peaceiris/actions-gh-pages@v3.9.3
4549
with:
4650
personal_token: ${{ secrets.GH_PAT }}
4751
publish_dir: ./docs
52+
publish_branch: gh-pages
53+
force_orphan: true

0 commit comments

Comments
 (0)