added missing exclusion line

pull/69/head
tomasz t 2022-04-01 01:37:57 +02:00
rodzic 61555e0df4
commit c58e02487e
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -41,6 +41,7 @@ jobs:
--quiet /home/${{ secrets.SSH_USER }}/aed-mapa-dev/web/ /home/${{ secrets.SSH_USER }}/temp_deploy_dev/ --quiet /home/${{ secrets.SSH_USER }}/aed-mapa-dev/web/ /home/${{ secrets.SSH_USER }}/temp_deploy_dev/
sed -i "s/<< oauth_consumer_key >>/$OAUTH_CONSUMER_KEY/;s/<< oauth_secret >>/$OAUTH_SECRET/;s|<< url >>|$OSM_API_URL|" /home/${{ secrets.SSH_USER }}/temp_deploy_dev/js/osm-integration.js sed -i "s/<< oauth_consumer_key >>/$OAUTH_CONSUMER_KEY/;s/<< oauth_secret >>/$OAUTH_SECRET/;s|<< url >>|$OSM_API_URL|" /home/${{ secrets.SSH_USER }}/temp_deploy_dev/js/osm-integration.js
rsync --update --recursive --delete \ rsync --update --recursive --delete \
--exclude '*.geojson' --exclude 'aed_poland_metadata.json' --exclude '*.ods' --exclude '*.csv' \
--verbose /home/${{ secrets.SSH_USER }}/temp_deploy_dev/ /var/www/dev/ --verbose /home/${{ secrets.SSH_USER }}/temp_deploy_dev/ /var/www/dev/
rm -rf /home/${{ secrets.SSH_USER }}/temp_deploy_dev/ rm -rf /home/${{ secrets.SSH_USER }}/temp_deploy_dev/
EOF EOF

Wyświetl plik

@ -43,6 +43,7 @@ jobs:
sed -i "s|https://aed.openstreetmap.org.pl/dev/|https://aed.openstreetmap.org.pl/|g" /home/${{ secrets.SSH_USER }}/temp_deploy_prod/map_style/style.json sed -i "s|https://aed.openstreetmap.org.pl/dev/|https://aed.openstreetmap.org.pl/|g" /home/${{ secrets.SSH_USER }}/temp_deploy_prod/map_style/style.json
sed -i "s|https://aed.openstreetmap.org.pl/dev/|https://aed.openstreetmap.org.pl/|g" /home/${{ secrets.SSH_USER }}/temp_deploy_prod/js/map.js sed -i "s|https://aed.openstreetmap.org.pl/dev/|https://aed.openstreetmap.org.pl/|g" /home/${{ secrets.SSH_USER }}/temp_deploy_prod/js/map.js
rsync --update --recursive --delete \ rsync --update --recursive --delete \
--exclude '*.geojson' --exclude 'aed_poland_metadata.json' --exclude '*.ods' --exclude '*.csv' \
--verbose /home/${{ secrets.SSH_USER }}/temp_deploy_prod/ /var/www/html/ --verbose /home/${{ secrets.SSH_USER }}/temp_deploy_prod/ /var/www/html/
rm -rf /home/${{ secrets.SSH_USER }}/temp_deploy_prod/ rm -rf /home/${{ secrets.SSH_USER }}/temp_deploy_prod/
EOF EOF