Skip to content

feat: instant job event notifications #58

feat: instant job event notifications

feat: instant job event notifications #58

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <michael.adler@siemens.com>
---
name: Pages
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
pages:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: latest
extended: true
- name: Setup Node
uses: actions/setup-node@v3
with:
# see https://github.com/nodejs/Release/blob/main/CODENAMES.md
node-version: lts/Hydrogen
cache: "npm"
# The action defaults to search for the dependency file (package-lock.json,
# npm-shrinkwrap.json or yarn.lock) in the repository root, and uses its
# hash as a part of the cache key.
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data
cache-dependency-path: "**/package-lock.json"
- uses: extractions/setup-just@v1
- uses: r-lib/actions/setup-pandoc@v2
- run: sudo apt-get update -q && sudo apt-get install -y --no-install-recommends make imagemagick librsvg2-bin
- run: cd hugo && npm ci
- run: env HUGO_BASEURL=https://siemens.github.io/wfx/ just pages
- run: ls -al public/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public