Added deployment scripts and workflows
Some checks failed
ci/woodpecker/push/deploy Pipeline failed
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Harrison Deng 2024-10-21 04:43:39 +00:00
parent a30b115df0
commit f83edd3997
2 changed files with 12 additions and 0 deletions

8
.woodpecker/deploy.yaml Normal file
View File

@ -0,0 +1,8 @@
steps:
- name: deploy
image: alpine
environment:
TOKEN:
from_secret: RSE_panel
commands:
- ./scripts/deploy.sh

4
scripts/deploy.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bin
curl https://panel.fun.reslate.systems/api/v1/deploy?uuid=x0kg0ows88co44ww04c00wsc&force=false
-H "Accept: application/json"
-H "Authorization: Bearer ${TOKEN}"