File tree Expand file tree Collapse file tree 2 files changed +16
-34
lines changed Expand file tree Collapse file tree 2 files changed +16
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11---
2- name : Schema validator web deploy
2+ name : Web validator
33
44on :
5+ push :
6+ branches : [master, main]
7+ pull_request :
8+ branches : [master, main]
59 release :
610 types : [published]
11+ workflow_dispatch :
12+ inputs :
13+ deploy :
14+ description : Deploy to github-pages
15+ required : false
16+ type : boolean
717
818concurrency :
919 group : ${{ github.workflow }}-${{ github.ref }}
@@ -14,19 +24,19 @@ jobs:
1424 runs-on : ubuntu-latest
1525 steps :
1626 - uses : actions/checkout@v4
17- - uses : denoland/setup-deno@v1
27+ - uses : denoland/setup-deno@v2
1828 with :
1929 deno-version : v2.x
2030 - run : deno task build
2131 working-directory : ./web
22- - name : Install NPM deps
23- run : npm install
24- - name : Upload GitHub Pages artifact
25- uses : actions/upload-pages-artifact@v3
32+ - uses : actions/upload-artifact@v4
2633 with :
34+ name : web
2735 path : web/dist
36+
2837 deploy :
2938 needs : build
39+ if : ${{ github.event_name == 'release' || inputs.deploy }}
3040 permissions :
3141 contents : read
3242 pages : write
You can’t perform that action at this time.
0 commit comments