Skip to content

Commit 70d69ae

Browse files
committed
fix ci, add keep it alive forever
1 parent e925392 commit 70d69ae

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/fetch.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ env:
2020
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2121

2222
jobs:
23+
keepalive-job:
24+
name: Keepalive Workflow
25+
runs-on: ubuntu-latest
26+
permissions:
27+
actions: write
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: gautamkrishnar/keepalive-workflow@v2
31+
2332
fetch:
2433
timeout-minutes: 10
2534
runs-on: ubuntu-latest
@@ -51,7 +60,7 @@ jobs:
5160
npm run gen-html
5261
minhtml --output web/index.html --keep-closing-tags --minify-css web/raw.html
5362
- name: Upload artifact
54-
uses: actions/upload-pages-artifact@v2
63+
uses: actions/upload-pages-artifact@v3
5564
with:
5665
path: web
5766

@@ -64,4 +73,4 @@ jobs:
6473
steps:
6574
- name: Deploy to GitHub Pages
6675
id: deployment
67-
uses: actions/deploy-pages@v3
76+
uses: actions/deploy-pages@v4

.github/workflows/page.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
npm run gen-html
3838
minhtml --output web/index.html --keep-closing-tags --minify-css web/raw.html
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
4141
with:
4242
path: web
4343

@@ -50,4 +50,4 @@ jobs:
5050
steps:
5151
- name: Deploy to GitHub Pages
5252
id: deployment
53-
uses: actions/deploy-pages@v3
53+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)