This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
90 und 120 CP Varianten in Modulmatrix unterschieden #489
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: 11ty Build | |
on: | |
push: | |
branches: ['public'] | |
workflow_dispatch: | |
inputs: | |
environment: | |
type: string | |
default: prod | |
required: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['19'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install packages | |
run: npm ci | |
- name: Run npm build | |
run: npm run build | |
- name: Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/public' | |
with: | |
publish_dir: docs | |
publish_branch: gh-pages | |
deploy_key: ${{ secrets.MI_DEPLOY_KEY }} |