1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 10:08:52 +08:00
Files
sqliteviz/.github/workflows/main.yml
Workflow config file is invalid. Please check your config file: yaml: line 11: did not find expected key
2020-10-12 13:16:30 +02:00

32 lines
803 B
YAML

name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
tags:
- '*'
branches:
- master
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: npm install and build
run: |
npm install
npm run build
- name: Deploy to github pages 🚀
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: build # The branch the action should deploy to.
FOLDER: dist/ # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch