From 034896eb8939add68694c19b3d7732fb05c1eacc Mon Sep 17 00:00:00 2001 From: alex 3 Date: Sat, 2 Mar 2024 23:50:08 -0500 Subject: [PATCH] update build url in action --- .github/workflows/rebuild.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml index 1a6932a..0417836 100644 --- a/.github/workflows/rebuild.yml +++ b/.github/workflows/rebuild.yml @@ -17,6 +17,6 @@ jobs: run: | curl -X POST \ -H "Content-Type: application/json" \ - -H "Authorization: Bearer ${{ secrets.PTERO_SECRET }}" \ - -d '{"signal": "restart"}' \ - https://panel.thatalex.dev/api/client/servers/457f4d77/power + -H "Authorization: Bearer ${{ secrets.BUILD:SE }}" \ + -d '{"action": "restart", "script":"website"}' \ + https://build.thatalex.dev/power/status?secret=${{ secrets.BUILD_SERVER }}