Skip to content

Merge pull request #33 from swan-io/update-boxed #73

Merge pull request #33 from swan-io/update-boxed

Merge pull request #33 from swan-io/update-boxed #73

on:
push:
branches: [main]
jobs:
deploy:
name: Deploy to GitHub Pages
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies and build
run: |
yarn install --pure-lockfile
yarn prepack
yarn --cwd website install --pure-lockfile
yarn --cwd website build
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: website/dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}