mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 16:19:35 +01:00
21 lines
519 B
YAML
21 lines
519 B
YAML
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 }}"
|