From 8d2856ee555722399fb692e8e25bb042a6b1d97e Mon Sep 17 00:00:00 2001 From: evann Date: Thu, 20 Jul 2023 22:57:02 +0200 Subject: [PATCH] secret test --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f4554c..76f250d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: with: url: ${{ env.PORTAINER_API_WEBHOOK }} method: 'POST' - customHeaders: '{"X-API-Key": "' + ${{secrets.PORTAINER_API_KEY}} + '"}' + customHeaders: format('{"X-API-Key": "{0}"', ${{secrets.PORTAINER_API_KEY}}) - name: Checkout repository uses: actions/checkout@v2