From de14e54931997af51f4549e235d210503e2c94f1 Mon Sep 17 00:00:00 2001 From: MartinOscar <40749467+rmartinoscar@users.noreply.github.com> Date: Tue, 30 Sep 2025 15:31:47 +0200 Subject: [PATCH] Create shift workflow --- .github/workflows/shift | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/shift diff --git a/.github/workflows/shift b/.github/workflows/shift new file mode 100644 index 000000000..25ab7aa3a --- /dev/null +++ b/.github/workflows/shift @@ -0,0 +1,18 @@ +name: Shift + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * 5" + +jobs: + shift: + runs-on: ubuntu-latest + steps: + - name: Shift + run: | + curl -sf -X POST https://laravelshift.com/api/run \ + -H "Accept: application/json" \ + -d "api_token=${{ secrets.SHIFT_TOKEN }}" \ + -d "code=${{ secrets.SHIFT_CODE }}" \ + -d "scs=github:${{ github.repository }}:${{ github.ref_name }}"