Skip to content

Update babel monorepo to v7.24.0 #570

Update babel monorepo to v7.24.0

Update babel monorepo to v7.24.0 #570

Workflow file for this run

on:
push:
branches:
- main
name: Publish Website over SFTP
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install composer dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Install npm dependencies
run: npm ci
- name: Check formatting
run: npm run format-check
- name: Run npm build
run: npm run build
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --delete --exclude=.sonarcloud.properties --exclude=.git*/** --exclude=.git** --exclude=composer* --exclude=package* --exclude=node_modules/** --exclude=i18n/langcache
remote_path: /var/www/map/
remote_host: railway-stations.org
remote_user: rswebsitesftp
remote_key: ${{ secrets.DEPLOY_KEY }}