diff --git a/.github/workflows/scheduledCleanUp.yml b/.github/workflows/scheduledCleanUp.yml new file mode 100644 index 0000000..cbb78c8 --- /dev/null +++ b/.github/workflows/scheduledCleanUp.yml @@ -0,0 +1,23 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + schedule: + - cron: "0 * * * *" + + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + webhookTrigger: + name: Webhook Trigger + runs-on: "ubuntu-latest" + steps: + - name: API CALL + uses: fjogeleit/http-request-action@master + with: + url: 'https://us-central1-watch-party-crx.cloudfunctions.net/webhooks/scheduledCleanup' + method: 'GET'