Changed to using curl environment
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed

update script to use sh instead of full bash
This commit is contained in:
Harrison Deng 2024-10-21 05:02:09 +00:00
parent 7cd8dfca17
commit cc0012b655
2 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
steps:
- name: deploy
image: debian
image: alpine/curl
environment:
TOKEN:
from_secret: RSE_panel
commands:
- bash ./scripts/deploy.sh
- sh ./scripts/deploy.sh
depends_on:
- build

View File

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