mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 12:39:30 +01:00
Create shift workflow
This commit is contained in:
parent
f02b58c320
commit
de14e54931
18
.github/workflows/shift
vendored
Normal file
18
.github/workflows/shift
vendored
Normal 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 }}"
|
||||
Loading…
x
Reference in New Issue
Block a user