File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
1
# This is a basic workflow to help you get started with Actions
2
2
3
- name : CI
3
+ name : Publish
4
4
5
5
on :
6
6
push :
@@ -40,11 +40,19 @@ jobs:
40
40
- name : Build website
41
41
run : npm run build
42
42
43
- # Copied from https://github.com/stacklok/minder/blob/main/.github/workflows/deploy-doc.yaml
44
43
- name : Deploy to GitHub Pages
45
- uses : peaceiris/ actions-gh- pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
44
+ uses : actions/upload- pages-artifact@v3
46
45
with :
47
- github_token : ${{ secrets.GITHUB_TOKEN }}
48
- # Build output to publish to the `gh-pages` branch:
49
- publish_dir : ./docs/build
50
- # cname: mindersec.github.io
46
+ path : ./docs/build
47
+ deploy :
48
+ name : Deploy
49
+ runs-on : ubuntu-latest
50
+ needs : build
51
+
52
+ permissions :
53
+ id-token : write
54
+ pages : write
55
+
56
+ steps :
57
+ - name : Deploy to GitHub Pages
58
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments