forked from donmccurdy/postprocessing
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 648 Bytes
/
cd.yml
File metadata and controls
29 lines (27 loc) · 648 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
name: CD
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
- 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@v4
with:
branch: gh-pages
folder: public
target-folder: public
single-commit: true