Skip to content

chore(deps)

chore(deps) #146

name: build and publish reCAP website
on:
push:
branches:
- main
paths:
- "docs-dev/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v2
- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build re>≡CAP website
run: |
cd docs-dev
npm i
npm run build
ls -alR ../docs
env:
CI: true
- name: deploy
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.actions_deploy_secret }}
PUBLISH_BRANCH: published-page
PUBLISH_DIR: ./
with:
commitMessage: "docs: re>≡CAP website"
keepFiles: true
emptyCommits: false