ci: configure auto updating the servers
This commit is contained in:
@@ -56,6 +56,6 @@ jobs:
|
|||||||
if: steps.build.outcome == 'success'
|
if: steps.build.outcome == 'success'
|
||||||
uses: indiesdev/curl@v1.1
|
uses: indiesdev/curl@v1.1
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.AUTO_UPDATE_URL }}
|
url: ${{ secrets.AUTO_UPDATE_DEV_URL }}
|
||||||
method: POST
|
method: POST
|
||||||
timeout: 600000
|
timeout: 600000
|
||||||
|
|||||||
@@ -55,3 +55,10 @@ jobs:
|
|||||||
labels: stable
|
labels: stable
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user