Skip to content

update flow component and dependencies for improved functionality #5

update flow component and dependencies for improved functionality

update flow component and dependencies for improved functionality #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
NX_NO_CLOUD: "true"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install deps
run: npm ci
- name: Build app
run: npx nx build low-code-ide --configuration=production --base-href=/Building-AI-Low-Code-Platform5/
- name: Add 404.html fallback
run: |
if [ -f dist/low-code-ide/index.html ]; then
cp dist/low-code-ide/index.html dist/low-code-ide/404.html
fi
if [ -f dist/low-code-ide/browser/index.html ]; then
cp dist/low-code-ide/browser/index.html dist/low-code-ide/browser/404.html
fi
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v4
with:
path: dist/low-code-ide
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy artifact
id: deployment
uses: actions/deploy-pages@v4