Skip to content

latest news update #152

latest news update

latest news update #152

name: build and publish reCAP website
on:
push:
branches:
- main
paths:
- "static/**"
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: ./static
with:
commitMessage: "docs: re>≡CAP website"
keepFiles: true
emptyCommits: false