Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Option to Deploy 2 MeshViewers (FFMUC, FFDON) #86

Draft
wants to merge 5 commits into
base: old-main
Choose a base branch
from
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/[email protected]
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/[email protected]
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/[email protected]
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
Loading