From c2effa902eb2197c802e6edcbe95d6b52f9438d1 Mon Sep 17 00:00:00 2001 From: Ayushya Amitabh Date: Sun, 9 Aug 2020 15:02:47 -0400 Subject: [PATCH] Create userCleanUp.yml --- .github/workflows/userCleanUp.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/userCleanUp.yml diff --git a/.github/workflows/userCleanUp.yml b/.github/workflows/userCleanUp.yml new file mode 100644 index 0000000..a0bc7c1 --- /dev/null +++ b/.github/workflows/userCleanUp.yml @@ -0,0 +1,23 @@ +# This is a basic workflow to help you get started with Actions + +name: USER CLEAN UP + +# 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 12 * * *" + + +# 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/userCleanUp' + method: 'GET'