forked from typegoose/mongodb-memory-server
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 746 Bytes
/
website.yml
File metadata and controls
31 lines (28 loc) · 746 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
name: Deploy Github Pages
on:
push:
branches:
- 'master'
- 'old/**'
- 'beta'
paths: # only run this deploy if an file in the following directories are changed
- 'docs/**'
- 'website/**'
- '.github/workflows/website.yml'
- 'scripts/getDeployInfo.js'
- 'scripts/ghPagesDeploy.js'
permissions:
contents: read
jobs:
website:
permissions:
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install & Build
run: node scripts/ghPagesDeploy.js