fix: update orchestrator CI to download and set up doctl and orchestrating scripts

This commit is contained in:
2025-09-23 17:09:30 +08:00
parent 3f44a10c0f
commit f2b16b21e1

View File

@@ -44,4 +44,11 @@ jobs:
DO_TOKEN: ${{ secrets.DO_TOKEN }}
SSH_PRIVATE_KEY_DECODED: ${{ secrets.SSH_PRIVATE_KEY_DECODED }}
run: |
orchestrating
wget https://github.com/digitalocean/doctl/releases/download/v1.141.0/doctl-1.141.0-linux-amd64.tar.gz
tar -xvf doctl-1.141.0-linux-amd64.tar.gz
mv doctl /usr/local/bin
curl https://git.btwazure.com/btwedutech/workflows/raw/branch/main/orchestrator/orchestrating.sh -o /usr/local/bin/orchestrating.sh
curl https://git.btwazure.com/btwedutech/workflows/raw/branch/main/orchestrator/cleanup.sh -o /usr/local/bin/cleanup.sh
chmod +x /usr/local/bin/orchestrating.sh /usr/local/bin/cleanup.sh
orchestrating.sh