Skip to content

Commit

Permalink
Merge pull request #9 from wood3n/fix_release_ci
Browse files Browse the repository at this point in the history
chore: fix ci config
  • Loading branch information
wood3n authored Sep 11, 2024
2 parents ffe2006 + e1a4171 commit ee725a5
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"@fe-kit/utils": patch
---

fix release ci
fix release ci check
6 changes: 0 additions & 6 deletions .changeset/two-clouds-tickle.md

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/deploy-storybook.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Deploy Storybook to GitHub Pages

on:
# Event for the workflow to run on
workflow_dispatch:
push:
branches:
- "master" # Replace with the branch you want to deploy from
- "master"
paths:
- "packages/components/**"

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/preview-storybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
Deploy-Preview:
if: ${{ ! startsWith(github.event.pull_request.title, 'auto-changesets-release') }}
runs-on: ubuntu-latest
steps:
# Manual Checkout
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
Release:
name: Release
runs-on: ubuntu-latest
if: ${{ ! startsWith(github.action.pull_request.title, '[Changesets ci]') }}
permissions:
id-token: write
contents: write
Expand Down Expand Up @@ -41,7 +40,7 @@ jobs:
with:
publish: npx turbo run build && npx changeset publish
version: npx changeset version
title: "[Changesets ci] Auto release"
title: "auto-changesets-release"
commit: "chore: auto update packages version and changelog"
createGithubReleases: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
jobs:
Release:
name: SnapshotRelease
if: ${{ ! startsWith(github.event.pull_request.title, 'auto-changesets-release') }}
runs-on: ubuntu-latest
if: ${{ ! startsWith(github.action.pull_request.title, '[Changesets ci]') }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit ee725a5

Please sign in to comment.