Skip to content

Commit

Permalink
[bug]尝试修复自动部署
Browse files Browse the repository at this point in the history
  • Loading branch information
ForeverYolo committed Jun 4, 2024
1 parent c603ad6 commit bbc524c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jobs:
git add .
git commit -m "Deploy $GITHUB_SHA to gh-pages"
git push --force --set-upstream origin gh-pages
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
pull-requests: write # To create a PR from that branch
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit bbc524c

Please sign in to comment.