Skip to content

Commit b46403b

Browse files
committed
fix: update workflow
1 parent 0d7e24c commit b46403b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: actions/checkout@v2
2727
with:
2828
persist-credentials: false
29+
fetch-depth: 0
2930
- name: Set up Node and Build for Deploy
3031
uses: actions/setup-node@v3
3132
with:
@@ -45,6 +46,8 @@ jobs:
4546
npm install -g @semantic-release/commit-analyzer@^9.0.0
4647
npm install -g @semantic-release/release-notes-generator@^10.0.0
4748
npm install
49+
- name: Pull latest changes from main # avoid "local behind remote" issues
50+
run: git pull origin main
4851
- name: Publish to Git Releases and Tags
4952
if: ${{ github.event.workflow_run.conclusion == 'success' }}
5053
env:

0 commit comments

Comments
 (0)