Skip to content

refactor replace original publish-to-gh-pages workflow #134

refactor replace original publish-to-gh-pages workflow

refactor replace original publish-to-gh-pages workflow #134

name: publish-to-github-pages
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
jobs:
publish-to-gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "20"
- run: yarn install
- run: yarn build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist