Skip to content

[web-ui] 👽️ Use ping.pub #34

[web-ui] 👽️ Use ping.pub

[web-ui] 👽️ Use ping.pub #34

Workflow file for this run

name: cd
on:
push:
branches:
- master
- develop
paths:
- "web-ui/**"
jobs:
cd:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
defaults:
run:
working-directory: 'web-ui'
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn
- name: Generate
run: NUXT_APP_BASE_URL=/${{ github.event.repository.name }}/ yarn generate
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./web-ui/.output/public