Skip to content

Commit 8a391ce

Browse files
committed
ci: Refactor workflow configuration and Makefile targets
- Remove triggering workflow on certain pull request types - Update Makefile to remove `install` step from `publish` target - Update Makefile to include `install` step in `publish-package` and `publish-image` targets
1 parent c85583a commit 8a391ce

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
types: [opened, reopened, synchronize]
97

108
permissions: write-all
119

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ build:
5252
build-image:
5353
docker compose build
5454

55-
publish: install publish-package publish-image
55+
publish: publish-package publish-image
5656

57-
publish-package:
57+
publish-package: install
5858
rm -rdf dist
5959
$(MAKE) build
6060
ifdef DRY_RUN
@@ -63,7 +63,7 @@ else
6363
$(VENV) python -m twine upload dist/*
6464
endif
6565

66-
publish-image: login-ghcr
66+
publish-image: install login-ghcr
6767
ifdef CI
6868
docker buildx build \
6969
-t ghcr.io/echohello-dev/transcribe-me:latest \

0 commit comments

Comments
 (0)