Skip to content

Version Packages

Version Packages #117

Workflow file for this run

on:
push:
tags:
- 'crossed-doc@[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# 👇 Build steps
- name: Set up Node.js
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm turbo run build --filter=crossed-doc
# 👆 Build steps
- name: Setup Pages
uses: actions/configure-pages@v1
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# 👇 Specify build output path
path: ./apps/doc/storybook-static
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1