ci: configure auto updating the servers

This commit is contained in:
Mar0xy 2023-09-26 17:51:19 +02:00
parent 1bfbe93a25
commit 5915854174
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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