Skip to content

Commit dd1d405

Browse files
committed
deploy gh-pages workflow test
1 parent 2df3361 commit dd1d405

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/action.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2.3.1
12+
13+
- 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.
14+
run: |
15+
npm install
16+
npm run build
17+
18+
- name: Deploy 🚀
19+
uses: JamesIves/github-pages-deploy-action@4.1.0
20+
with:
21+
branch: gh-pages # The branch the action should deploy to.
22+
folder: src/dist # The folder the action should deploy.

0 commit comments

Comments
 (0)