From 41527ff9f43b172bd491324cf459dce3baa27068 Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Tue, 24 Nov 2020 13:54:38 +0530 Subject: [PATCH] :construction_worker: Add Dependencies CI --- .github/workflows/dependencies.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/dependencies.yml diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml new file mode 100644 index 00000000..f0858ff0 --- /dev/null +++ b/.github/workflows/dependencies.yml @@ -0,0 +1,29 @@ +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (weekly) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs +# Or propose changes to this template: https://github.com/upptime/upptime + +name: Dependencies CI +on: + schedule: + - cron: "0 3 * * *" + workflow_dispatch: +jobs: + release: + name: Build and deploy site + runs-on: ubuntu-18.04 + if: "github.event.repository.owner == 'upptime' && github.event.repository.name == 'upptime'" + steps: + - name: Checkout + uses: actions/checkout@v2.3.3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT }} + - name: Generate site + uses: upptime/uptime-monitor@v1.16.1 + with: + command: "update-dependencies" + env: + GH_PAT: ${{ secrets.GH_PAT }}