Snapshot workflow
Some checks failed
Create Snapshot / build (push) Failing after 23s

This commit is contained in:
Gabriel Simmer 2024-08-15 22:24:53 +01:00
parent f96dfd647d
commit 3a1835f937
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -0,0 +1,21 @@
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 }}
TMPDIR: "."