Skip to content

Commit 9432be0

Browse files
committed
update
1 parent ce25d2e commit 9432be0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build_web.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: build_web
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 8 * * *'
7+
8+
jobs:
9+
build_web:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 20
17+
- run: npm ci
18+
- run: npm run downport
19+
- run: npm run transpile
20+
- name: send to downport repository
21+
uses: peaceiris/actions-gh-pages@v3
22+
with:
23+
user_name: 'github-actions[bot]'
24+
user_email: 'github-actions[bot]@users.noreply.github.com'
25+
publish_branch: main
26+
publish_dir: ./output
27+
destination_dir: output

0 commit comments

Comments
 (0)