diff --git a/.github/workflows/Sync.yml b/.github/workflows/Sync.yml index a7f9d34e..a5e17b9c 100644 --- a/.github/workflows/Sync.yml +++ b/.github/workflows/Sync.yml @@ -20,26 +20,12 @@ jobs: fetch-depth: 0 token: ${{ env.WORKFLOW_TOKEN }} - - name: Add upstream - run: | - git remote add upstream ${{ env.UPSTREAM_URL }} - - - name: Fetch all - run: | - git fetch origin - git fetch upstream - - name: Update sync branch run: | git config --global user.email "sneed@feedandse.edu" git config --global user.name "Sneed Chuckinson" - git checkout -B sync upstream/master - git push origin sync --force - - - name: Copy master -> apk-build - run: | - git checkout -B apk-build sync - git push origin apk-build --force + git checkout apk-build + git reset --hard upstream/master - name: Apply sneed changes run: |