Skip to content

Commit 9b79981

Browse files
committed
surge deploy
1 parent c47bca8 commit 9b79981

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/surge.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy Surge Website
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
name: Deploying to surge
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Install Node.js
10+
uses: actions/setup-node@v2-beta
11+
with:
12+
node-version: 12
13+
- uses: borales/actions-yarn@v2.0.0 # `yarn install`
14+
with:
15+
cmd: install
16+
# - name: Build module
17+
# run: yarn build
18+
- name: Build Storybook
19+
run: yarn build-storybook
20+
- name: Install Surge
21+
run:npm install --global surge
22+
- name: Surge deploy
23+
run: surge ./storybook-static react-scroll-parallax-v3.surge.sh --token ${{ secrets.SURGE_TOKEN }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/cjs
22
/coverage
33
/esm
4-
4+
storybook-static
55
npm-debug.log
66
.DS_STORE
77
*.log

0 commit comments

Comments
 (0)