diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b5e5d80..bd45794 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -3,42 +3,34 @@ name: Build, Test, and Deploy Angular App
on:
push:
branches:
- - main # Run the workflow on pushes to the main branch
- workflow_dispatch: # Allows manual trigger
+ - release-1.0.0
+ workflow_dispatch:
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
-# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
-# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
- # Job 1: Build the Angular application
build:
runs-on: ubuntu-latest
steps:
- # Step 1: Check out the code
- name: Checkout repository
uses: actions/checkout@v3
- # Step 2: Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- # Step 3: Install dependencies
- name: Install dependencies
run: npm install
- # Step 4: Build the application
- name: Build Angular app
run: npm run build -- --configuration production --base-href /formbuilder/
@@ -49,7 +41,7 @@ jobs:
run: mv ./dist/aphp-formbuilder _site
- name: Upload artifact
- uses: actions/upload-pages-artifact@v2
+ uses: actions/upload-pages-artifact@v3
with:
path: _site
@@ -62,4 +54,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v2
+ uses: actions/deploy-pages@v4
diff --git a/src/app/base-page/base-page.component.html b/src/app/base-page/base-page.component.html
index cce2b63..36572ef 100644
--- a/src/app/base-page/base-page.component.html
+++ b/src/app/base-page/base-page.component.html
@@ -56,6 +56,12 @@