Skip to content

Merge pull request #382 from freifunkMUC/T0biii-patch-2 #136

Merge pull request #382 from freifunkMUC/T0biii-patch-2

Merge pull request #382 from freifunkMUC/T0biii-patch-2 #136

Workflow file for this run

name: DEPLOY
on:
push:
branches:
- main
jobs:
deploy:
strategy:
fail-fast: false
matrix:
target: [webfrontend03, webfrontend04, webfrontend05, webfrontend06]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/[email protected]
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: lemonarc/[email protected]
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: _site
remote_path: /srv/www/ffmuc.net/
remote_host: ${{ matrix.target }}.ext.ffmuc.net
remote_user: deploy-ffmuc
remote_key: ${{ secrets.DEPLOY_KEY }}