Merge pull request #322 from effector/fix-trigger #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: 📦 Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- name: 🐧 Use Node.js v18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: v18.x | |
cache: 'pnpm' | |
cache-dependency-path: pnpm-lock.yaml | |
- name: 🔍 Installation | |
run: pnpm install | |
working-directory: ./ | |
- name: 🔧 Build | |
run: pnpm build | |
working-directory: ./website | |
- name: 🚀 Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./website/build |