Skip to content

Redo themes (#1281) #87

Redo themes (#1281)

Redo themes (#1281) #87

name: Deploy Homedocs to Netlify
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Build cx package
run: yarn build
- name: Build homedocs
run: yarn --cwd homedocs build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3
with:
publish-dir: "./homedocs/dist"
production-deploy: true
deploy-message: "${{ github.event.head_commit.message }}"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}