Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit d576c48

Browse files
authored
Merge pull request #272 from plexidev/dev
Changing doc creation to be on master instead
2 parents 13b32dc + 4caedc8 commit d576c48

1 file changed

Lines changed: 42 additions & 42 deletions

File tree

.github/workflows/docgen-static.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,51 @@
22
# Modified to build with node
33
name: Deploy built static content to Pages
44
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["dev"]
8-
# Allows you to run this workflow manually from the Actions tab
9-
workflow_dispatch:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["master"]
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
1010
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1111
permissions:
12-
contents: read
13-
pages: write
14-
id-token: write
12+
contents: read
13+
pages: write
14+
id-token: write
1515
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1616
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1717
concurrency:
18-
group: "pages"
19-
cancel-in-progress: false
18+
group: "pages"
19+
cancel-in-progress: false
2020
jobs:
21-
# Build job
22-
build:
23-
runs-on: ubuntu-latest
24-
steps:
25-
- uses: actions/checkout@v3
26-
- name: Use Node.js 18.x
27-
uses: actions/setup-node@v3
28-
with:
29-
node-version: ${{ matrix.node-version }}
30-
cache: "npm"
31-
- run: npm ci
32-
- run: npm run docgen
33-
34-
- name: Setup Pages
35-
id: pages
36-
uses: actions/configure-pages@v3
37-
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v1
39-
with:
40-
path: ./docs
41-
42-
# Single deploy job
43-
deploy:
44-
environment:
45-
name: github-pages
46-
url: ${{ steps.deployment.outputs.page_url }}
47-
runs-on: ubuntu-latest
48-
needs: build
49-
steps:
50-
- name: Deploy to GitHub Pages
51-
id: deployment
52-
uses: actions/deploy-pages@v1
21+
# Build job
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Use Node.js 18.x
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
cache: "npm"
31+
- run: npm ci
32+
- run: npm run docgen
33+
34+
- name: Setup Pages
35+
id: pages
36+
uses: actions/configure-pages@v3
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v1
39+
with:
40+
path: ./docs
41+
42+
# Single deploy job
43+
deploy:
44+
environment:
45+
name: github-pages
46+
url: ${{ steps.deployment.outputs.page_url }}
47+
runs-on: ubuntu-latest
48+
needs: build
49+
steps:
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)