Skip to content

Added the Final Report column to the 2023 index page. Updated the new… #537

Added the Final Report column to the 2023 index page. Updated the new…

Added the Final Report column to the 2023 index page. Updated the new… #537

Workflow file for this run

# SPDX-License-Identifier: MIT
#
# SPDX-FileCopyrightText: 2021 Gaurav Mishra <mishra.gaurav@siemens.com>
# SPDX-FileCopyrightText: 2021 Siemens AG
name: Test and deploy
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Test Build
run: |
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Build pages
run: |
# git config --global user.email "actions@github.com"
# git config --global user.name "gh-actions"
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
yarn build
- name: Release to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: build
single-commit: true