Create shift workflow

This commit is contained in:
MartinOscar 2025-09-30 15:31:47 +02:00 committed by GitHub
parent f02b58c320
commit de14e54931
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
.github/workflows/shift vendored Normal file
View File

@ -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 }}"