Skip to content

Merge pull request #131 from openstreetmap-polska/mapowanie_ulic #15

Merge pull request #131 from openstreetmap-polska/mapowanie_ulic

Merge pull request #131 from openstreetmap-polska/mapowanie_ulic #15

# deploy street names mappings to prod
name: deploy-streetnames-to-prod
on:
push:
branches:
- main
paths:
- 'processing/sql/data/street_names_mappings.csv'
jobs:
deploy:
name: Deploy to prod env
runs-on: ubuntu-latest
steps:
- name: Install SSH Key
uses: kielabokkie/ssh-key-and-known-hosts-action@v1
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-host: ${{ secrets.SSH_HOST_IP }}
ssh-port: ${{ secrets.SSH_HOST_PORT }}
- name: Run deploy script on host
run: ssh -t -p ${{ secrets.SSH_HOST_PORT }} -l ${{ secrets.SSH_USER }} ${{ secrets.SSH_HOST_IP }} /opt/gugik2osm/conf/deploy_street_names_mappings.sh