Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matmalkowski authored Oct 2, 2024
1 parent dacc6c2 commit 605fb07
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@ name: deploy-docs
on:
push:
branches:
- alpha # replace with master once merged
- alpha # replace with master once merged

# install dependencies, build, and push to `gh-pages`
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install and build
working-directory: docs
run: |
yarn
yarn build
- name: Install and build
working-directory: docs
run: |
yarn
yarn build
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build
CLEAN: true
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build
CLEAN: true

0 comments on commit 605fb07

Please sign in to comment.