File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: time-tracker-ui-cd-prod
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - ' fix-workflow '
5
+ tags :
6
+ - ' v*.*.* '
7
7
8
8
jobs :
9
9
cd :
@@ -26,15 +26,15 @@ jobs:
26
26
env :
27
27
GIT_CRYPT_KEY : ${{ secrets.GIT_CRYPT_KEY_PROD }}
28
28
29
- # - name: Build the docker image
30
- # run: |-
31
- # docker build \
32
- # --target production -t timetracker_ui -f Dockerfile_prod \
33
- # .
29
+ - name : Build the docker image
30
+ run : |-
31
+ docker build \
32
+ --target production -t timetracker_ui -f Dockerfile_prod \
33
+ .
34
34
35
- # - name: Publish docker image to prod aws container registry
36
- # run: |
37
- # make login publish_prod image_tag=$RELEASE_VERSION
35
+ - name : Publish docker image to prod aws container registry
36
+ run : |
37
+ make login publish_prod image_tag=$RELEASE_VERSION
38
38
39
39
- name : SCP files via ssh key
40
40
uses : appleboy/scp-action@master
Original file line number Diff line number Diff line change 1
1
name : time-tracker-ui-cd-stage
2
2
3
3
on :
4
- push :
5
- branches :
6
- - ' asdffix-workflow '
4
+ release :
5
+ types :
6
+ - published
7
7
8
8
jobs :
9
9
cd :
You can’t perform that action at this time.
0 commit comments