From 97d27ea9f47263ffda837ae72847d76d515054a7 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 11 Aug 2021 17:23:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Starts=20the=20action=20to=20syn?= =?UTF-8?q?c=20deploy=5Fcloudflare?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/sync-deployment-branches.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/sync-deployment-branches.yml diff --git a/.github/sync-deployment-branches.yml b/.github/sync-deployment-branches.yml new file mode 100644 index 00000000..9bc71d77 --- /dev/null +++ b/.github/sync-deployment-branches.yml @@ -0,0 +1,24 @@ +# Action to keep cloud-specific, deployment-ready branched in sync with master +name: Sync Deployment Branches +on: + workflow_dispatch: # Manual dispatch + schedule: + - cron: '0 1 * * 0' # At 01:00 on Sunday. +jobs: + sync-deploy-cloudflare: + runs-on: ubuntu-latest + name: Sync latest commits from master + steps: + - name: Checkout master + uses: actions/checkout@v2 + with: + ref: master + - name: Pull master into deploy Cloudflare branch + id: sync + uses: aormsby/Fork-Sync-With-Upstream-action@v3.0 + with: + target_sync_branch: deploy_cloudflare + target_repo_token: ${{ secrets.GITHUB_TOKEN }} + upstream_sync_branch: master + upstream_sync_repo: lissy93/dashy + upstream_repo_access_token: ${{ secrets.GITHUB_TOKEN }}