Skip to content

Commit

Permalink
add tag filter in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Sep 18, 2024
1 parent be9130b commit 566dd61
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci_core.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
on:
push:
branches:
Expand All @@ -12,10 +11,8 @@ on:
- core/**
env:
MIX_ENV: test

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -27,10 +24,7 @@ jobs:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: canary_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
typesense:
Expand Down Expand Up @@ -70,7 +64,7 @@ jobs:
- run: mix deps.get
working-directory: core
- run: mix compile
# - run: mix compile --warnings-as-errors
# - run: mix compile --warnings-as-errors
working-directory: core
- run: mix format --check-formatted
working-directory: core
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy_cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
on:
release:
types:
- published
tags:
- 'core_*'
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_storybook.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
on:
push:
branches:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish_image.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
---
on:
release:
types:
Expand Down

0 comments on commit 566dd61

Please sign in to comment.