Skip to content

Commit

Permalink
build: replace access-token and custom style placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
clementgayvallet committed Jul 4, 2024
1 parent 81b9af7 commit c973620
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Replace JAWG access-token
run: find . -type f -exec sed -i "s/<YOUR_ACCESS_TOKEN>/${{ secrets.JAWG_MAPS_EXAMPLES_ACCESS_TOKEN }}/" {} \;
- name: Replace custom style id
run: find . -type f -exec sed -i "s/<YOUR_CUSTOM_STYLE_ID>/${{ vars.JAWG_MAPS_EXAMPLES_CUSTOM_STYLE_ID }}/" {} \;
- name: Replace GIS access-token
run: find . -type f -exec sed -i "s/<YOUR_GIS_ACCESS_TOKEN>/${{ secrets.JAWG_MAPS_EXAMPLES_ACCESS_TOKEN }}/" {} \;
- name: Replace simple map ID
Expand Down

0 comments on commit c973620

Please sign in to comment.