mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 02:13:09 +02:00
ci: configure auto updating the servers
This commit is contained in:
parent
1bfbe93a25
commit
5915854174
2 changed files with 8 additions and 1 deletions
2
.github/workflows/docker-develop.yml
vendored
2
.github/workflows/docker-develop.yml
vendored
|
@ -56,6 +56,6 @@ jobs:
|
|||
if: steps.build.outcome == 'success'
|
||||
uses: indiesdev/curl@v1.1
|
||||
with:
|
||||
url: ${{ secrets.AUTO_UPDATE_URL }}
|
||||
url: ${{ secrets.AUTO_UPDATE_DEV_URL }}
|
||||
method: POST
|
||||
timeout: 600000
|
||||
|
|
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
@ -55,3 +55,10 @@ jobs:
|
|||
labels: stable
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Push update to server
|
||||
if: steps.build.outcome == 'success'
|
||||
uses: indiesdev/curl@v1.1
|
||||
with:
|
||||
url: ${{ secrets.AUTO_UPDATE_URL }}
|
||||
method: POST
|
||||
timeout: 600000
|
||||
|
|
Loading…
Reference in a new issue