Skip to content

deploy

deploy #831

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-file: ".nvmrc"
- name: Use npm
run: corepack enable 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