Skip to content

Fix expo@52

Fix expo@52 #7

Workflow file for this run

name: Publish Docs Site
on:
push:
branches:
- master
paths:
- 'docs/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: Build & Publish Docs Site
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: πŸ— Checkout repo
uses: actions/checkout@v4
- name: πŸ— Enable corepack
run: corepack enable
- name: πŸ— Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
- name: πŸ— Install dependencies
run: cd docs && yarn install
- name: πŸ“¦ Build project
run: cd docs && yarn vite-react-ssg build
- name: πŸ“¦ Setup Pages
uses: actions/configure-pages@v4
- name: πŸ“¦ Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/dist/'
- name: πŸš€ Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4