We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 783b148 commit 7b568adCopy full SHA for 7b568ad
1 file changed
.github/workflows/docker-publish.yml
@@ -132,8 +132,10 @@ jobs:
132
env:
133
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
134
run: |
135
- git fetch origin gh-pages:gh-pages 2>/dev/null || true
136
AHUB_CONTENT=$(git show HEAD:artifacthub-repo.yml 2>/dev/null) || exit 0
+ 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
139
git checkout gh-pages
140
echo "$AHUB_CONTENT" > artifacthub-repo.yml
141
git add artifacthub-repo.yml
0 commit comments