diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index 6ecc838..16c3a16 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -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 \ No newline at end of file diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 22daefe..4effc6f 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -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}" \ No newline at end of file