Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 00764d5

Browse filesBrowse files
🤖 config(github): Configure workflow to automate gh-pages generation.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/eb1b209cd7aa675a642d48b2a788c2c6112779f7/src/transforms/github:workflow-configure-gh-pages.js Please contact the author of the transform if you believe there was an error.
1 parent bd0bc8b commit 00764d5
Copy full SHA for 00764d5

File tree

2 files changed

+24
-0
lines changed
Filter options

2 files changed

+24
-0
lines changed

‎.github/workflows/gh-pages.yml

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and Deploy GitHub pages
2+
on:
3+
release:
4+
types:
5+
- created
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2
12+
13+
- name: Install 🔧
14+
run: npm install
15+
16+
- name: Build 🏗️
17+
run: npm run build-gh-pages
18+
19+
- name: Deploy 🚀
20+
uses: JamesIves/github-pages-deploy-action@4.1.0
21+
with:
22+
branch: gh-pages
23+
folder: gh-pages

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"scripts": {
3131
"build": "babel --delete-dir-on-start --env-name production src -d lib",
3232
"build-docs": "esdoc",
33+
"build-gh-pages": "npm run build-docs",
3334
"cover": "c8 --all --src src --reporter=lcov npm test",
3435
"dev": "npm run lint -- --fix && npm run cover -- -- -st --fail-fast",
3536
"lint": "true",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.