Skip to content

Commit 644c122

Browse files
committed
fix: change deploy action + update ol
1 parent 5749a68 commit 644c122

File tree

3 files changed

+345
-548
lines changed

3 files changed

+345
-548
lines changed

.github/workflows/deploy-to-gh.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
name: Build and Deploy
22
on: [push]
33
jobs:
4-
build-and-deploy:
5-
runs-on: ubuntu-latest
6-
steps:
7-
- name: Checkout 🛎️
8-
uses: actions/checkout@v2.3.1
9-
with:
10-
persist-credentials: false
4+
build-and-deploy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout 🛎️
8+
uses: actions/checkout@v2.3.1
9+
with:
10+
persist-credentials: false
1111

12-
- name: Install and Build 🔧
13-
run: | # Install npm packages and build the Storybook files
14-
npm ci
15-
npm run build-storybook
16-
17-
- name: Deploy 🚀
18-
uses: JamesIves/github-pages-deploy-action@4.1.4
19-
with:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
BRANCH: gh-pages # The branch the action should deploy to.
22-
FOLDER: storybook-static # The folder that the build-storybook script generates files.
23-
CLEAN: true # Automatically remove deleted files from the deploy branch
12+
- name: Install and Build 🔧
13+
run: | # Install npm packages and build the Storybook files
14+
npm ci
15+
16+
- name: Deploy 🚀
17+
uses: JamesIves/github-pages-deploy-action@4.1.4
18+
with:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
BRANCH: gh-pages # The branch the action should deploy to.
21+
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)