From 04e475ab2fa088414ce308b540f11e501fd4973c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20P=C3=A9rez?= <luis.perez@protonmail.com>
Date: Thu, 17 Dec 2020 21:43:21 -0600
Subject: [PATCH] modify workflow in upstream

---
 .github/workflows/sync-workflow.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/sync-workflow.yml b/.github/workflows/sync-workflow.yml
index 01d7c0f2..5d50f3df 100644
--- a/.github/workflows/sync-workflow.yml
+++ b/.github/workflows/sync-workflow.yml
@@ -2,7 +2,8 @@
 name: Fork Sync with Upstream
 on:
   schedule:
-    - cron: '0 7 * * 1,4'
+    - cron: '0 20 * * 0'
+  workflow_dispatch:
 
 jobs:
   sync_with_upstream:
@@ -18,11 +19,11 @@ jobs:
         id: sync
         uses: aormsby/Fork-Sync-With-Upstream-action@v2.0
         with:
-          upstream_repository: panr/hugo-theme-hello-friend
+          upstream_repository: mail-in-a-box/mailinabox
           upstream_branch: master
-          target_branch: master
+          target_branch: upstream
           git_pull_args: --ff-only
-          github_token: ${{ secrets.GITHUB_TOKEN }}
+          github_token: ${{ secrets.G_TOKEN }}
 
       - name: Check for new commits
         if: steps.sync.outputs.has_new_commits