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:
|
steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: debian
|
image: alpine/curl
|
||||||
environment:
|
environment:
|
||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: RSE_panel
|
from_secret: RSE_panel
|
||||||
commands:
|
commands:
|
||||||
- bash ./scripts/deploy.sh
|
- sh ./scripts/deploy.sh
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bin
|
#!/bin/sh
|
||||||
curl https://panel.fun.reslate.systems/api/v1/deploy?uuid=x0kg0ows88co44ww04c00wsc&force=false
|
curl https://panel.fun.reslate.systems/api/v1/deploy?uuid=x0kg0ows88co44ww04c00wsc&force=false
|
||||||
-H "Accept: application/json"
|
-H "Accept: application/json"
|
||||||
-H "Authorization: Bearer ${TOKEN}"
|
-H "Authorization: Bearer ${TOKEN}"
|
Loading…
x
Reference in New Issue
Block a user