Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
triggers by tag->prod publish release->stage
  • Loading branch information
mmaquina committed Apr 4, 2023
commit bc973bbcc4fcb8ee74c1019308ea1ab1a9e14ea4
20 changes: 10 additions & 10 deletions .github/workflows/aws-ui-cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: time-tracker-ui-cd-prod

on:
push:
branches:
- 'fix-workflow'
tags:
- 'v*.*.*'

jobs:
cd:
Expand All @@ -26,15 +26,15 @@ jobs:
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY_PROD }}

# - name: Build the docker image
# run: |-
# docker build \
# --target production -t timetracker_ui -f Dockerfile_prod \
# .
- name: Build the docker image
run: |-
docker build \
--target production -t timetracker_ui -f Dockerfile_prod \
.

# - name: Publish docker image to prod aws container registry
# run: |
# make login publish_prod image_tag=$RELEASE_VERSION
- name: Publish docker image to prod aws container registry
run: |
make login publish_prod image_tag=$RELEASE_VERSION

- name: SCP files via ssh key
uses: appleboy/scp-action@master
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aws-ui-cd-stage.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: time-tracker-ui-cd-stage

on:
push:
branches:
- 'asdffix-workflow'
release:
types:
- published

jobs:
cd:
Expand Down