Skip to content

ci: automatic deployments #1

ci: automatic deployments

ci: automatic deployments #1

Workflow file for this run

name: Deploy example
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deployt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install & Build
run: |
pnpm install
pnpm build
- name: Generate example
run: pnpm run example
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpm run deploy -u "github-actions-bot <support+actions@github.com>"