Merge pull request #931 from 3YOURMIND/fix-ssr-hiccup #556
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: GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ hashFiles('**/yarn.lock') }} | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Build @3yourmind/documentation | |
run: yarn run turbo run --filter=@3yourmind/documentation build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: packages/documentation/dist |