2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-05-17 04:19:37 +03:00
Files
vue-ganttastic/.github/workflows/deploy.yml
T
2023-10-11 15:24:41 +03:00

32 lines
637 B
YAML

name: Deploy to GH Pages
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@master
with:
persist-credentials: false
- name: Install 🔧
run: npm install
- name: Build 🏗️
run: npm run demo:build
env:
NODE_ENV: production
- name: Deploy to GH Pages 🚀
if: ${{ github.event_name != 'pull_request' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: demo