Graphite/.github/workflows/cd.yml
2021-04-10 13:27:49 -07:00

32 lines
743 B
YAML

name: Graphite Continuous Deployment
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install Dependencies
run: cd client/web && npm install
- name: build node
run: cd client/web && npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: deploy # The branch the action should deploy to.
folder: client/web/dist # The folder the action should deploy.
clean: true
single-commit: true
git-config-name: Deploy Bot