Skip to content

change mastodon account #614

change mastodon account

change mastodon account #614

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 }}