Skip to content

Commit c4eae09

Browse files
Update deploy.yml
1 parent 7ca32c1 commit c4eae09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ jobs:
5252
git add -A
5353
git commit -m "Update registry submodule"
5454
55-
# IMPORTANT: pull latest remote before pushing
5655
git pull --rebase https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git main
57-
58-
# Now push safely without conflict
5956
git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git HEAD:main
6057
6158
build:
@@ -83,6 +80,7 @@ jobs:
8380
uses: actions/upload-pages-artifact@v3
8481
with:
8582
path: ./dist
83+
overwrite: true # ⭐ IMPORTANT FIX
8684

8785
deploy:
8886
needs: build

0 commit comments

Comments
 (0)