Skip to content

Commit

Permalink
fix(actions/flux-localhost-build): git pull strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed May 19, 2024
1 parent f4aa686 commit 3910c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/flux-localhost-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
git config user.email "${{ secrets.BOT_USERNAME }} <${{ secrets.BOT_API_ID }}+${{ secrets.BOT_USERNAME }}[bot]@users.noreply.github.com>" # get $BOT_API_ID from `curl -s 'https://api.github.com/users/$(BOT_USERNAME)%5Bbot%5D' | yq .id`
git checkout ${{ env.BRANCH }} || git checkout -b ${{ env.BRANCH }} main
git pull origin ${{ env.BRANCH }} || true
git pull --rebase --autostash origin ${{ env.BRANCH }} || true
mkdir -p /tmp/flux
flux pull artifact oci://ghcr.io/fluxcd/flux-manifests:v${{ env.FLUX_VERSION }} --output /tmp/flux/
Expand Down

0 comments on commit 3910c7c

Please sign in to comment.