Skip to content

Deploy GitHub Page

Deploy GitHub Page #29

Workflow file for this run

name: Deploy GitHub Page
on:
workflow_dispatch:
inputs:
confirm_deployment:
description: "Please confirm deployment"
required: true
type: boolean
concurrency: deploy-gh-pages-${{ github.ref }}
jobs:
deploy-gh-pages:
if: ${{ inputs.confirm_deployment == true && github.repository == 'siemens/ix-starter' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/workflows/actions/install
- name: Install optional theme
run: pnpm --filter ix-theme-downloader download
env:
CSC_TOKEN: ${{ secrets.CSC_TOKEN }}
BRAND_URL: ${{ vars.BRAND_URL }}
- name: Build React Starter
run: pnpm build
env:
REACT_BASE: /ix-starter/react-starter/
VITE_THEME: 1
- name: Deploy GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./apps/react-starter/dist
target-folder: react-starter