forked from pmndrs/postprocessing
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (30 loc) · 716 Bytes
/
Copy pathcd.yml
File metadata and controls
32 lines (30 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CD
on:
push:
tags:
- "*"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install PNPM
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile=false
- name: Build and deploy
run: pnpm run deploy
- uses: JamesIves/github-pages-deploy-action@4.0.0
with:
branch: gh-pages
folder: public
target-folder: public
single-commit: true
silent: true
clean: true