Skip to content

Commit

Permalink
阿巴阿巴
Browse files Browse the repository at this point in the history
  • Loading branch information
GLDYM committed Sep 14, 2023
1 parent 89d1cbe commit 4623151
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,21 @@ jobs:

- name: Configure git
run: |
git config --global user.name "[bot] gh-action deploy"
git config --global user.email "[email protected]"
git config user.name "[bot] gh-action deploy"
git config user.email "[email protected]"
- name: Build
run: |
set -e
yarn build
- name: Commit
- name: Deploy
env:
GHP_REPO: github.com/FDCraft/fdcraft.github.io
GPA_TOKEN: ${{ secrets.GPA_TOKEN }}
run: |
cd docs/.vitepress/dist
git init
git add -A
git commit -m 'gh-action deploy'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GPA_TOKEN }}
git push -f --set-upstream https://${GPA_TOKEN}@${GHP_REPO} master

0 comments on commit 4623151

Please sign in to comment.