Compare commits
No commits in common. "28d2995add76f943d37e669a71138f2393526611" and "d121d60b76994bc65ae92e7b1c77863d72c0493e" have entirely different histories.
28d2995add
...
d121d60b76
|
@ -1,20 +0,0 @@
|
||||||
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 }}
|
|
|
@ -105,9 +105,6 @@ async function withAuth(request, env, ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function newSnapshot(request, env, ctx) {
|
async function newSnapshot(request, env, ctx) {
|
||||||
const kv = env.KV_STORE;
|
|
||||||
const bucket = env.R2_BUCKET;
|
|
||||||
|
|
||||||
const body = await request.formData();
|
const body = await request.formData();
|
||||||
const {
|
const {
|
||||||
date,
|
date,
|
||||||
|
|
Loading…
Reference in a new issue