Skip to content

👽️ Use ping.pub #67

👽️ Use ping.pub

👽️ Use ping.pub #67

Workflow file for this run

name: cd
on:
push:
branches:
- master
- develop
jobs:
cd:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
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: ./.output/public