This commit is contained in:
parent
f96dfd647d
commit
28d2995add
20
.forgejo/workflows/snapshot.yml
Normal file
20
.forgejo/workflows/snapshot.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Create Snapshot
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 8 * * *"
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'snapshot.sh'
|
||||||
|
- '.forgejo/workflows/snapshot.yml'
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: vancouver
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3.5.3
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
|
- name: Create Snapshot
|
||||||
|
run: ./snapshot.sh https://arch.dog https://servo.arch.dog/new
|
||||||
|
env:
|
||||||
|
SERVO_API_TOKEN: ${{ secrets.SERVO_API_TOKEN }}
|
Loading…
Reference in a new issue