Skip to content

chore: change repository field from string to object #23

chore: change repository field from string to object

chore: change repository field from string to object #23

Workflow file for this run

name: Github Pages
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: node --version
- run: npm --version
- run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./demo/build
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"