Skip to content

Run Delete Rooms

Run Delete Rooms #59

Workflow file for this run

name: Run Delete Rooms
#write a cro job for every sunday at 3:00am
on:
schedule:
- cron: "0 3 * * SUN"
jobs:
build:
name: Delete Rooms
runs-on: ubuntu-latest
steps:
- name: Curl request
run: "curl -X DELETE -H 'Authorization: ${{ secrets.DELETE_KEY }}' 'https://neo-letter-fastify.vercel.app/api/rooms'"