Skip to content

deploy

deploy #478

Workflow file for this run

name: DEPLOY
on:
push:
branches: "develop"
repository_dispatch:
types:
- deploy
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Use the latest npm
run: npm i -g npm
- name: Run npm install
run: npm ci
- name: Run Build App
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: App Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: main