Skip to content

Commit

Permalink
Fix build order
Browse files Browse the repository at this point in the history
Building every lang and then main build caused removing subdirectories
  • Loading branch information
starsep committed Feb 9, 2024
1 parent b84d782 commit 1bb32d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
VITE_OSM_API_URL: 'https://api.openstreetmap.org'
VITE_OSM_OAUTH2_CLIENT_ID: ${{ secrets.REACT_APP_OSM_OAUTH2_CLIENT_ID }}
VITE_BACKEND_API_URL: 'https://openaedmap.org'
run: ./scripts/build_every_lang.sh && npm run build
run: npm run build && ./scripts/build_every_lang.sh
- name: Run deploy script on host
run: |
rsync -rp --delete -e 'ssh -p ${{ secrets.SSH_HOST_NEW_PORT }}' build/* ${{ secrets.SSH_USER_NEW }}@${{ secrets.SSH_HOST_NEW_IP }}:~/main-static/

0 comments on commit 1bb32d0

Please sign in to comment.