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:
4242 - name : Build site
4343 run : bundle exec jekyll build
4444
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