File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ jobs:
42
42
- name : Build site
43
43
run : bundle exec jekyll build
44
44
45
- - name : Deploy
46
- env :
47
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
- PAT : ${{ secrets.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 }}
49
- run : |
50
- git config --global user.name "github-actions[bot]"
51
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
52
- git remote set-url origin https://x-access-token:${PAT}@github.com/QuickImageComment/QuickImageComment.github.io.git
53
- git add .
54
- git commit -m "Deploy site"
55
- git push origin HEAD:main
45
+ # Deployment job
46
+ deploy :
47
+ environment :
48
+ name : github-pages
49
+ url : ${{ steps.deployment.outputs.page_url }}
50
+ runs-on : ubuntu-latest
51
+ needs : build
52
+ steps :
53
+ - name : Deploy to GitHub Pages
54
+ id : deployment
55
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments