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 11# This is a basic workflow to help you get started with Actions
22
3- name : CI
3+ name : Publish
44
55on :
66 push :
@@ -40,11 +40,19 @@ jobs:
4040 - name : Build website
4141 run : npm run build
4242
43- # Copied from https://github.com/stacklok/minder/blob/main/.github/workflows/deploy-doc.yaml
4443 - name : Deploy to GitHub Pages
45- uses : peaceiris/ actions-gh- pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
44+ uses : actions/upload- pages-artifact@v3
4645 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