Skip to content

Commit 68c38f7

Browse files
authored
build: trigger update-dist to push on main and force add of dist files to override gitignore (#401)
1 parent dbecda1 commit 68c38f7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/update-dist.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414

1515
name: Update dist
1616
on:
17-
pull_request:
18-
types: [ closed ]
17+
push:
18+
branches: [ main ]
19+
workflow_dispatch:
20+
1921
jobs:
2022
update-dist:
2123
# will only run if the PR was merged
@@ -33,6 +35,6 @@ jobs:
3335
npm run build
3436
git config --global user.name 'googlemaps-bot'
3537
git config --global user.email 'googlemaps-bot@google.com'
36-
git add dist
38+
git add -f dist
3739
git commit -m "chore: update dist folder [skip ci]" || true
3840
git push origin

0 commit comments

Comments
 (0)