Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Merge branch 'public' of github.com:th-koeln/medieninformatik-5.0 int… #475

Merge branch 'public' of github.com:th-koeln/medieninformatik-5.0 int…

Merge branch 'public' of github.com:th-koeln/medieninformatik-5.0 int… #475

Workflow file for this run

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 }}