Skip to content

ci: upgrade actions #104

ci: upgrade actions

ci: upgrade actions #104

Workflow file for this run

name: build
on:
push:
branches:
- master
workflow_dispatch: # add manual button
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: release
publish_dir: dist