Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu authored Nov 11, 2023
1 parent bfc7514 commit 199498c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16'

Expand All @@ -39,17 +39,17 @@ jobs:

- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v5
uses: tj-actions/branch-names@v7

- name: Deploy Pages 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
uses: JamesIves/github-pages-deploy-action@4.4.3
with:
branch: gh-pages
folder: demo
target-folder: ${{ steps.branch-name.outputs.current_branch }}

- name: Deploy Storybook 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
uses: JamesIves/github-pages-deploy-action@4.4.3
with:
branch: gh-pages
folder: storybook-static
Expand Down

0 comments on commit 199498c

Please sign in to comment.