Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,43 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: cp config.json build/
- name: rsync deployments
uses: burnett01/rsync-deployments@5.2

- name: rsync deployments for map.ffmuc.net (build)
uses: burnett01/rsync-deployments@7.0.0
with:
switches: -avzr --delete --exclude .ssh
path: build/
remote_path: /srv/www/map.ffmuc.net/
remote_host: ${{ matrix.target }}.ext.ffmuc.net
remote_path: /srv/www/map.ffmuc.net/ # Remote-Pfad für die erste Konfiguration
remote_host: ${{ matrix.target }}.ext.ffmuc.net # Verwenden des gemeinsamen Targets
remote_user: deploy-map
remote_key: ${{ secrets.DEPLOY_KEY }}

- name: rsync deployments for map.ffmuc.net (config)
uses: burnett01/rsync-deployments@7.0.0
with:
switches: -avz
path: config-ffmuc.json
remote_path: /srv/www/map.ffmuc.net/config.json # Remote-Pfad für die zweite Konfiguration
remote_host: ${{ matrix.target }}.ext.ffmuc.net # Verwenden des gemeinsamen Targets
remote_user: deploy-map
remote_key: ${{ secrets.DEPLOY_KEY }}

- name: rsync deployments for map.freifunk-donau-ries.de (build)
uses: burnett01/rsync-deployments@7.0.0
with:
switches: -avzr --delete --exclude .ssh
path: build/
remote_path: /srv/www/map.freifunk-donau-ries.de/ # Remote-Pfad für die zweite Konfiguration
remote_host: ${{ matrix.target }}.ext.ffmuc.net # Verwenden des gemeinsamen Targets
remote_user: deploy-map
remote_key: ${{ secrets.DEPLOY_KEY }}

- name: rsync deployments for map.freifunk-donau-ries.de (config)
uses: burnett01/rsync-deployments@7.0.0
with:
switches: -avz
path: config-ffdon.json
remote_path: /srv/www/map.freifunk-donau-ries.de/config.json # Remote-Pfad für die zweite Konfiguration
remote_host: ${{ matrix.target }}.ext.ffmuc.net # Verwenden des gemeinsamen Targets
remote_user: deploy-map
remote_key: ${{ secrets.DEPLOY_KEY }}
Loading