Skip to content

Commit 25d4e94

Browse files
committed
Automatically deploy develop/master branch
1 parent bd57aa5 commit 25d4e94

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/docker-publish.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- 'develop'
7+
- 'master'
78

89
env:
910
JAVA_VERSION: 16
@@ -29,3 +30,5 @@ jobs:
2930
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
3031
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }}
3132
run: ./gradlew jib
33+
- name: Re-Deploy
34+
run: "curl -H 'Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}' https://togetherjava.duckdns.org:5003/v1/update"

0 commit comments

Comments
 (0)