Skip to content

feat(ui): a basic read-only UI for wfx #1362

feat(ui): a basic read-only UI for wfx

feat(ui): a basic read-only UI for wfx #1362

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
---
name: Pages
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: write
jobs:
pages:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
container: golang:1.25.3@sha256:6bac879c5b77e0fc9c556a5ed8920e89dab1709bd510a854903509c828f67f96
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Disable git security features
run: git config --global safe.directory '*'
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: .ci/setup-pages.sh
- run: .ci/check-links.py
continue-on-error: true
- run: npm ci
working-directory: hugo
- run: just pages
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
- name: Upload pages
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
if: ${{ github.ref != 'refs/heads/main' }}
with:
name: wfx-pages
path: public
retention-days: 5