Skip to content

Commit 7b568ad

Browse files
update version
1 parent 783b148 commit 7b568ad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ jobs:
132132
env:
133133
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
134134
run: |
135-
git fetch origin gh-pages:gh-pages 2>/dev/null || true
136135
AHUB_CONTENT=$(git show HEAD:artifacthub-repo.yml 2>/dev/null) || exit 0
136+
git checkout -- . 2>/dev/null || true
137+
git clean -fd 2>/dev/null || true
138+
git fetch origin gh-pages:gh-pages 2>/dev/null || true
137139
git checkout gh-pages
138140
echo "$AHUB_CONTENT" > artifacthub-repo.yml
139141
git add artifacthub-repo.yml

0 commit comments

Comments
 (0)