Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevshin2002 committed Dec 5, 2024
1 parent fc716ac commit 33e9b75
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,27 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: '16'

- name: Install dependencies
run: |
cd docusaurus # Navigate to the Docusaurus folder
cd docusaurus
npm install
- name: Build site
run: |
cd docusaurus
npm run build
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions Bot"
- name: Deploy to GitHub Pages
run: |
cd docusaurus
npm run deploy
env:
GIT_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 33e9b75

Please sign in to comment.