Compare commits

...

3 Commits

Author SHA1 Message Date
RMartinOscar
1d6f490c77 5min timeout 2025-09-30 16:41:00 +00:00
MartinOscar
e2851f28ca Rename shift to shift.yaml 2025-09-30 15:35:57 +02:00
MartinOscar
de14e54931 Create shift workflow 2025-09-30 15:31:47 +02:00

20
.github/workflows/shift.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Shift
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 5"
jobs:
shift:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Shift
run: |
curl -X POST -s -retry 5 -m 60 --fail-with-body \
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 }}"