Skip to content

Commit

Permalink
Update to publish using custom ghaction.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Oct 7, 2023
1 parent 5d4891a commit 4da0ed1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Set Git Configs
run: |
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions"
- name: Build for GitHub Pages
run: npm run predeploy

- name: Build and Deploy
run: npm run deploy
- name: Deploy
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_REPO_TOKEN }}

0 comments on commit 4da0ed1

Please sign in to comment.