fix ci #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy GitHub Page | |
on: | |
workflow_dispatch: | |
inputs: | |
confirm_deployment: | |
description: "Please confirm deployment" | |
required: true | |
type: boolean | |
push: # remove on.push before merge to main | |
branches: ["react-demo-app"] | |
concurrency: deploy-gh-pages-${{ github.ref }} | |
jobs: | |
deploy-gh-pages: | |
# remove comment before merge to main | |
# 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: Build React Starter | |
run: pnpm build | |
- name: Deploy GitHub Pages 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: ./apps/react-starter/dist | |
target-folder: react-starter |