kopia lustrzana https://github.com/openstreetmap-polska/aed-mapa
added missing exclusion line
rodzic
61555e0df4
commit
c58e02487e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue