New queueless VILLAS interface / improve real-time performance (#316) #56
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
name: Build & Deploy FEIN Documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: '0.108.0' | |
extended: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- run: cd docs/hugo && npm ci | |
- run: cd docs/hugo && hugo --minify --baseURL "https://dpsim.fein-aachen.org" | |
- name: Deploy dpsim-simulator / FEIN | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
deploy_key: ${{ secrets.HUGO_ACTIONS_DEPLOY_KEY }} | |
external_repository: dpsim-simulator/dpsim-simulator.github.io | |
publish_dir: ./docs/hugo/public | |
# keep_files: true | |
user_name: m-mirz | |
user_email: markus.mirz@rwth-aachen.de | |
publish_branch: master | |
cname: dpsim.fein-aachen.org |