From 1e370c864480dccb7350ab909d668dd825660b6e Mon Sep 17 00:00:00 2001 From: nitikornbunya Date: Thu, 5 Sep 2024 00:39:03 +0700 Subject: [PATCH] edit: add automatically follow redirects --- .github/workflows/sync-app-script.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-app-script.yml b/.github/workflows/sync-app-script.yml index 4795314..932ad45 100644 --- a/.github/workflows/sync-app-script.yml +++ b/.github/workflows/sync-app-script.yml @@ -20,7 +20,7 @@ jobs: - name: Fetch data 🏃🏻‍♂️ run: | - curl -s "https://script.google.com/macros/s/${{ secrets.KEY_APP_SCRIPT }}/exec?action=getData" -o data/laws.json + curl -L -s "https://script.google.com/macros/s/${{ secrets.KEY_APP_SCRIPT }}/exec?action=getData" -o data/laws.json - name: Commit and Push Changes run: |