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

View file

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