Skip to content

Update components scripts #1156

Update components scripts

Update components scripts #1156

Workflow file for this run

name: Build and deploy on GitHub pages
on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: "* 1 * * *"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-node@v2
with:
node-version: 21.x
- name: Install dependencies
run: |
npm i -g yarn
yarn install
- name: Build
env:
CALENDAR_API_KEY: ${{ secrets.CALENDAR_API_KEY }}
run: yarn docusaurus build
- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
CALENDAR_API_KEY: ${{ secrets.CALENDAR_API_KEY }}
BRANCH: gh-pages
FOLDER: build
TARGET_FOLDER: docs
CLEAN: true