File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
tags :
6
6
- " [0-9]+.[0-9]+.[0-9]+"
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ concurrency :
15
+ group : " release"
16
+ cancel-in-progress : false
7
17
8
18
jobs :
9
19
release :
20
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
10
21
runs-on : ubuntu-latest
22
+ concurrency :
23
+ group : release-installer-${{ github.ref }}
24
+ cancel-in-progress : false
11
25
steps :
12
26
-
13
27
name : Checkout
28
42
args : release --verbose --clean
29
43
env :
30
44
GITHUB_TOKEN : ${{ secrets.GHA_RELEASE }}
45
+ update-pages :
46
+ concurrency :
47
+ group : release-installer-${{ github.ref }}
48
+ cancel-in-progress : false
49
+ environment :
50
+ name : github-pages
51
+ url : ${{ steps.deployment.outputs.page_url }}
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - name : Checkout
55
+ uses : actions/checkout@v4
56
+ - name : Setup Pages
57
+ uses : actions/configure-pages@v4
58
+ - name : Upload artifact
59
+ uses : actions/upload-pages-artifact@v3
60
+ with :
61
+ path : ' ./_scripts/install.sh'
62
+ - name : Deploy to GitHub Pages
63
+ id : deployment
64
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments