Skip to content

feat(sdk): align generator rebidding across sdks (#445) #62

feat(sdk): align generator rebidding across sdks (#445)

feat(sdk): align generator rebidding across sdks (#445) #62

name: Deploy Website to GitHub Pages
on:
push:
branches:
- main
paths:
- 'website/**'
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 20
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build website
env:
PIE_ENABLE_GTAG: '1'
run: npm run build
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v5
with:
path: website/build
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5