Skip to content

Commit

Permalink
fix: deploy gha fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnesmit committed Apr 2, 2024
1 parent b802dd9 commit 429b5ab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ jobs:
- name: Run tests
run: npm run test:ci

- name: Build storybook
run: npm run build-storybook

- name: Build package
run: npm run build

- name: Archive build artifacts
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' || github.ref == 'refs/heads/next'
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
with:
name: dist
Expand All @@ -65,6 +62,7 @@ jobs:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

- uses: actions/download-artifact@v3
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
with:
name: dist
path: dist
Expand Down

0 comments on commit 429b5ab

Please sign in to comment.