File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,12 +61,15 @@ jobs:
6161 deploy :
6262 needs : build
6363 # Deploy to the github-pages environment
64- environment :
65- name : github-pages
66- url : ${{ steps.deployment.outputs.page_url }}
67-
68- runs-on : ubuntu-latest
69- steps :
70- - name : Deploy to GitHub Pages
71- id : deployment
72- uses : actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
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
You can’t perform that action at this time.
0 commit comments