Skip to content

feat: initial commit of cli tool #3

feat: initial commit of cli tool

feat: initial commit of cli tool #3

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
# Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
# Install dependencies
- name: Install dependencies
run: npm install --workspace=packages/docs
# Configure pages
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
# Build the Astro site
- name: Build the docs site
run: npm run build --workspace=packages/docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: packages/docs/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4