From cc0012b65516311be8b3d4b39fc07099ee845eff Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 21 Oct 2024 05:02:09 +0000 Subject: [PATCH] Changed to using curl environment update script to use sh instead of full bash --- .woodpecker/deploy.yaml | 4 ++-- scripts/deploy.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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