From 181255202299022b69011f32d766e5757ce0a1bb Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Tue, 27 Feb 2024 14:37:08 +0800 Subject: [PATCH] chore: schedule prod deploy PR every Tue --- .github/workflows/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..14f4ba63f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,15 @@ +name: Prod Deploy + +on: + # Run this action every Tuesday at 02:00 UTC (Singapore 10AM) + schedule: + - cron: "0 2 * * 2" + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - run: gh pr create -B main -H develop --title 'Prod deploy' --fill + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}