Skip to content

Deploy Website [manual] #43

Deploy Website [manual]

Deploy Website [manual] #43

name: Deploy Website [manual]
on:
workflow_dispatch:
inputs:
targetFolder:
description: 'target folder'
required: true
default: 'nightly'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: 20
cache: 'yarn'
- name: Install and Build
run: |
export NODE_OPTIONS="--max_old_space_size=4096"
yarn install
- name: Update version.md
run: |
touch packages/website/static/version.md
git log -1 &>> packages/website/static/version.md
- name: Build
run: |
yarn ci:deploy:nightly
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: packages/website/build # The folder the action should deploy.
target-folder: ${{ github.event.inputs.targetFolder }}
clean: true