File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616name : Release
1717on :
1818 push :
19- branches :
20- - main
19+ branches : [ main ]
20+ workflow_dispatch :
21+
2122jobs :
2223 release :
23- if : " !contains(github.event.head_commit.message, 'skip ci')"
2424 runs-on : ubuntu-latest
2525 env :
2626 GOOGLE_MAPS_JS_SAMPLES_KEY : " ${{ secrets.GOOGLE_MAPS_JS_SAMPLES_KEY }}"
27+ steps :
28+ - uses : actions/checkout@v2
29+ with :
30+ token : ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
31+ repository : ${{ github.event.client_payload.pull_request.head.repo.full_name }}
32+ ref : ${{ github.event.client_payload.pull_request.head.ref }}
33+ - run : npm ci
34+ - name : Update dist
35+ run : |
36+ npm run build
37+ git config --global user.name 'googlemaps-bot'
38+ git config --global user.email 'googlemaps-bot@google.com'
39+ git add -f dist
40+ git commit -m "chore: update dist folder [skip ci]" || true
41+ git push origin
2742 steps :
2843 - uses : actions/checkout@v2
2944 with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments