From 695a23085731e2eaadf4967b01506357c85776ac Mon Sep 17 00:00:00 2001 From: Zeh Fernando Date: Mon, 14 Aug 2023 21:11:01 +0100 Subject: [PATCH] [Draft] Create release.yml Creating a cron (job) action to automatically push from the "dev" branch to "main" branch every Tuesday morning. --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c6ce048 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +name: Release + +on: + schedule: + - cron: "0 7 * * 2" + +jobs: + publish: + name: Release all current enqueued dev code + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: main + - name: Rebase + run: | + git rebase dev + git push