From 2ecee5fcd33a3142a31932e04b92ce2a331d742f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matuzal=C3=A9m=20Teles?= Date: Wed, 20 Mar 2024 16:55:24 -0500 Subject: [PATCH 1/2] feat: add cron job to run clayui.com's nightly build --- .github/workflows/clay-nightly.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/clay-nightly.yml diff --git a/.github/workflows/clay-nightly.yml b/.github/workflows/clay-nightly.yml new file mode 100644 index 0000000000..ceae8e6c96 --- /dev/null +++ b/.github/workflows/clay-nightly.yml @@ -0,0 +1,13 @@ +name: Clayui.com Nightly Build + +on: + schedule: + # Run at At 02:00 AM UTC (07:00 PM PDT) + - cron: '0 2 * * *' +jobs: + build: + name: Request Netlify Webhook + runs-on: ubuntu-latest + steps: + - name: Curl request + run: curl -X POST -d {} ${{ secrets.NETLIFY_WEBHOOK }} From 1f12060a932b348accf9fbb0b221bd6b60626603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matuzal=C3=A9m=20Teles?= Date: Mon, 1 Apr 2024 18:26:22 -0500 Subject: [PATCH 2/2] chore: add url --- .github/workflows/clay-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clay-nightly.yml b/.github/workflows/clay-nightly.yml index ceae8e6c96..f0c97348a2 100644 --- a/.github/workflows/clay-nightly.yml +++ b/.github/workflows/clay-nightly.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Curl request - run: curl -X POST -d {} ${{ secrets.NETLIFY_WEBHOOK }} + run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_WEBHOOK }}