From 97ba90304249241c42b449ea7a0ba2f8fded02c7 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Fri, 26 Apr 2024 11:49:53 +0100 Subject: [PATCH] Try to fix yaml --- .gitea/workflows/build-and-copy.yaml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index cea843e..5a288ec 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -37,16 +37,19 @@ jobs: run: scp -rp _site/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/blog/ - name: Purge XML files from cache run: - | curl --request POST \ - --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.xml&async=false' \ - --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}' + - > + curl --request POST + --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.xml&async=false' + --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}' - name: Purge JSON files from cache run: - | curl --request POST \ - --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.json&async=false' \ - --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}' + - > + curl --request POST + --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.json&async=false' + --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}' - name: Purge CSS files from cache run: - | curl --request POST \ - --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.css&async=false' \ - --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}' \ No newline at end of file + - > + curl --request POST + --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.css&async=false' + --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}' \ No newline at end of file