File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,20 +56,18 @@ jobs:
5656 id : deployment
5757 uses : actions/upload-pages-artifact@v3
5858 with :
59- path : public
60-
61- deploy :
62- needs : build
63- # Deploy to the github-pages environment
64- uses : peaceiris/actions-gh-pages@v4
65- # If you're changing the branch from main,
66- # also change the `main` in `refs/heads/main`
67- # below accordingly.
68- if : github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
69- with :
70- personal_token : ${{ secrets.PERSONAL_TOKEN }}
71- external_repository : devops-maturity/devops-maturity.github.io
72- publish_branch : main
73- user_name : ' github-actions[bot]'
74- user_email : ' github-actions[bot]@users.noreply.github.com'
75- publish_dir : ./public
59+ path : ./public
60+
61+ - name : Deploy
62+ uses : peaceiris/actions-gh-pages@v4
63+ # If you're changing the branch from main,
64+ # also change the `main` in `refs/heads/main`
65+ # below accordingly.
66+ if : github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
67+ with :
68+ personal_token : ${{ secrets.PERSONAL_TOKEN }}
69+ external_repository : devops-maturity/devops-maturity.github.io
70+ publish_branch : main
71+ user_name : ' github-actions[bot]'
72+ user_email : ' github-actions[bot]@users.noreply.github.com'
73+ publish_dir : ./public
You can’t perform that action at this time.
0 commit comments