Skip to content

Commit 022f2bd

Browse files
committed
fix: change actions gh
1 parent bed5bdb commit 022f2bd

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818
with:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
BRANCH: gh-pages # The branch the action should deploy to.
21+
FOLDER: storybook-static # The folder that the build-storybook script generates files.
2122
CLEAN: true # Automatically remove deleted files from the deploy branch

.github/workflows/release.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
name: Release
22
on:
3-
push:
4-
branches:
5-
- master
3+
push:
4+
branches:
5+
- master
66
jobs:
7-
release:
8-
name: Release
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v3
13-
with:
14-
fetch-depth: 0
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v3
17-
with:
18-
node-version: 12
19-
- name: Install dependencies
20-
run: npm ci
21-
- name: Build library
22-
run: npm run build
23-
- name: Release
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
27-
run: npx -p node@lts -c "npx semantic-release"
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 12
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Build library
22+
run: npm run build
23+
- name: Release
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
27+
run: npx -p node -c "npx semantic-release"

0 commit comments

Comments
 (0)