add vienna model from AIT #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/build.yaml | |
name: Build and Deploy MATSim website | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.16.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies & build website | |
run: | | |
cp src/assets/fonts/lalezar/Lalezar-Regular.ttf /usr/share/fonts/ | |
fc-cache -f -v | |
npm ci | |
npm run build | |
- name: Deploy build | |
uses: burnett01/[email protected] | |
with: | |
switches: -avz | |
path: dist/ | |
remote_path: ~/httpdocs | |
remote_host: ${{ secrets.DEPLOY_HOST }} | |
remote_user: ${{ secrets.DEPLOY_USER }} | |
remote_key: ${{ secrets.SSH_PRIVATE_KEY }} |