Skip to content

Commit ab5f913

Browse files
committed
Add gh deploy
1 parent 9fbf294 commit ab5f913

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout 🛎️
14+
uses: actions/[email protected]
15+
16+
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
17+
run: |
18+
yarn
19+
yarn build
20+
21+
- name: Deploy 🚀
22+
uses: JamesIves/[email protected]
23+
with:
24+
branch: gh-pages # The branch the action should deploy to.
25+
folder: build # The folder the action should deploy.

0 commit comments

Comments
 (0)