Skip to content

Commit 06a0b0f

Browse files
author
Bouzaiene Chamesddine
committed
WIP
1 parent fb75050 commit 06a0b0f

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

.github/workflows/Storybook.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
name: 'Deploy StoryBook'
55

66
# Event for the workflow
7-
on: push
7+
on:
8+
push:
9+
branches:
10+
- main
11+
tags:
12+
- '*'
813

914
# List of jobs
1015
jobs:

.github/workflows/changelog.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .github/workflows/changelog.yml
2+
3+
name: Changelog
4+
5+
on: push
6+
7+
jobs:
8+
release:
9+
name: Changelog
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
- name: Build Changelog
15+
if: startsWith(github.ref, 'refs/tags/')
16+
id: github_release
17+
uses: mikepenz/release-changelog-builder-action@v1
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/chromatic.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
name: 'Chromatic'
55

66
# Event for the workflow
7-
on: push
7+
on:
8+
push:
9+
branches:
10+
- main
11+
12+
pull_request:
13+
branches:
14+
- main
815

916
# List of jobs
1017
jobs:

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ name: Publish
44

55
on:
66
push:
7+
branches:
8+
- main
79
tags:
810
- '*'
911

0 commit comments

Comments
 (0)