Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Update upstream-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iomekam authored Aug 16, 2024
1 parent ca85fb6 commit 6692258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
if git ls-remote --exit-code --heads origin ${{ env.UPSTREAM_SYNC_BRANCH_NAME }}; then
# Mirror remote workflows if they exist
if git ls-tree --name-only -r origin/${{ env.UPSTREAM_SYNC_BRANCH_NAME }}:.github/workflows &> /dev/null; then
echo "hit"
git checkout origin/${{ env.UPSTREAM_SYNC_BRANCH_NAME }} .github/workflows
fi
fi
git commit -am "Prepare branch for deploy"
git push -f origin ${{ env.UPSTREAM_SYNC_BRANCH_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6692258

Please sign in to comment.