Changed to using curl environment
update script to use sh instead of full bash
This commit is contained in:
parent
7cd8dfca17
commit
cc0012b655
@ -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
|
@ -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}"
|
Loading…
x
Reference in New Issue
Block a user