Skip to content

Commit

Permalink
Update deploy_site.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigRazor committed Mar 7, 2024
1 parent 4410389 commit ae9bc56
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/deploy_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,11 @@ jobs:
working-directory: ${{github.workspace}}/docusaurus
# Build your program with the given configuration
run: yarn build

- name: Identify to git
run: |
git config --local user.email "zigrazor@gmail.com"
git config --local user.name "ZigRazor"
- name: Deploy
working-directory: ${{github.workspace}}/docusaurus
env:
GIT_USER: ZigRazor
GIT_PASS: ${{ secrets.PERSONAL_TOKEN }}
run: yarn run deploy

- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./docusaurus/build


0 comments on commit ae9bc56

Please sign in to comment.