feat: added non_network_penalty fro bicycle #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update public FOSSGIS servers | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/**' | |
- 'src/**' | |
- 'valhalla/**' | |
- 'proto/**' | |
- 'scripts/**' | |
- 'lua/**' | |
- 'cmake/**' | |
- 'third_party/**' | |
- 'locales/**' | |
- 'CMakeLists.txt' | |
workflow_dispatch: | |
jobs: | |
update_servers: | |
name: Update servers | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run script | |
run: | | |
eval $(ssh-agent -s) | |
ssh-add - <<< "${{ secrets.SSH_SECRET }}" | |
# first the build server | |
ssh -p 23432 -o StrictHostKeyChecking=no [email protected] 'sudo bash -s builder' < scripts/update_public_server.sh | |
# then the services | |
ssh -p 23432 -o StrictHostKeyChecking=no [email protected] 'sudo bash -s service' < scripts/update_public_server.sh |