Skip to content

fix: revert back netlify to v15 (#4446) #5033

fix: revert back netlify to v15 (#4446)

fix: revert back netlify to v15 (#4446) #5033

Workflow file for this run

name: Site publish
on:
workflow_dispatch:
push:
branches:
- main
jobs:
site-build:
name: Build & publish site
runs-on: ubuntu-latest
# Run the job if manually triggered or if the commit message includes '#publish' & the check suite has passed
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '#publish')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Generate Docs
run: yarn docs:ci
- name: Deploy to GitHub Pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d projects/documentation/dist -m "[skip ci] update demonstration site" -t -u "github-actions-bot <support+actions@github.com>" --nojekyll
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}