mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-07 19:06:52 +03:00
Compare commits
3 Commits
main
...
chore/shif
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d6f490c77 | ||
|
|
e2851f28ca | ||
|
|
de14e54931 |
20
.github/workflows/shift.yaml
vendored
Normal file
20
.github/workflows/shift.yaml
vendored
Normal 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 }}"
|
||||
Reference in New Issue
Block a user