Skip to content

Merge pull request #3 from starlinglab/dependabot/npm_and_yarn/rollup… #12

Merge pull request #3 from starlinglab/dependabot/npm_and_yarn/rollup…

Merge pull request #3 from starlinglab/dependabot/npm_and_yarn/rollup… #12

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Deploy with gh-pages
run: |
npm ci
npm run build
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}