Skip to content

Commit

Permalink
ci: try other thing
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Nov 26, 2023
1 parent 7452eb4 commit 6298517
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ jobs:
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Build and Deploy 🚀
run: npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to GitHub Pages 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6298517

Please sign in to comment.