Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonny-Cho committed Nov 4, 2023
1 parent 0622654 commit d9d60e0
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: npm
- name: GithubPages Deploy
uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
deploy-branch: gh-pages

- name: Set Git User
run: |
git config user.name "Jonny-Cho"
git config user.email "[email protected]"
- name: Run deploy
run: |
npm ci
npm run deploy
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d9d60e0

Please sign in to comment.