From db7d19c013fbfcd187764efb334d8dbd7c5fc2a4 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Fri, 20 Dec 2024 16:51:03 +0100 Subject: [PATCH] Fix secret file --- .gitea/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 48235ec..cc6cb26 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -6,7 +6,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Add secret file - run: touch botconfig/config.json \ - echo "${{ secrets.BONCONFIG_CONFIG_JSON }}" > botconfig/config.json + run: | + touch botconfig/config.json + echo '${{ secrets.BONCONFIG_CONFIG_JSON }}' > botconfig/config.json - name: Send webhook to portainer run: "curl -X POST -H 'Content-Type: application/json' -d '' http://172.23.0.1:20000/api/stacks/webhooks/6dbf44ed-eab0-4d52-a633-309d21ffd8c1" \ No newline at end of file