Skip to content

Commit 68ceaed

Browse files
maurerleDasSkelett
authored andcommitted
ffmuc customizations
1 parent 9214eef commit 68ceaed

7 files changed

Lines changed: 576 additions & 96 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: DEPLOY
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
map-deploy:
8+
if: github.repository_owner == 'freifunkMUC'
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
target: [webfrontend03, webfrontend04, webfrontend05, webfrontend06]
13+
node-version: [20.x]
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- run: npm install
22+
- run: npm run build
23+
- run: cp config.json build/
24+
- name: rsync deployments
25+
uses: burnett01/rsync-deployments@5.2
26+
with:
27+
switches: -avzr --delete --exclude .ssh
28+
path: build/
29+
remote_path: /srv/www/map.ffmuc.net/
30+
remote_host: ${{ matrix.target }}.ext.ffmuc.net
31+
remote_user: deploy-map
32+
remote_key: ${{ secrets.DEPLOY_KEY }}

.github/workflows/publish-docker.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/release-meshviewer.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Thumbs.db
1515
# Project files
1616
/node_modules
1717
/build
18-
/config.json
1918
*.zip
2019
/dev-dist
2120
/public/config.json

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @freifunkMUC/meshviewer

0 commit comments

Comments
 (0)