Skip to content

Commit 3d7bcce

Browse files
committed
use old deployment code
1 parent 9689b2b commit 3d7bcce

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/jekyll.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)