Skip to content
Open
Show file tree
Hide file tree
Changes from 157 commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
3c0b914
Move doc gen to archive. Start new template for Content Gen
hunterjam Nov 21, 2025
dc24a47
feat: Add Intelligent Content Generation Accelerator
hunterjam Dec 1, 2025
337fafa
fix: Update deployment scripts with latest configuration
hunterjam Dec 1, 2025
cb0438b
feat: Add Chat History component
hunterjam Dec 1, 2025
800bc9b
Fix Chat History persistence across all conversation flows
hunterjam Dec 2, 2025
312e270
Move Product Selector and Content Preview inline into chat conversation
hunterjam Dec 2, 2025
03f310d
Persist generated_content in CosmosDB and restore on conversation load
hunterjam Dec 2, 2025
1fe0a0f
Add image proxy endpoint to fix broken image links
hunterjam Dec 3, 2025
805dac6
Add Azure deployment with private endpoints and ACI backend
hunterjam Dec 3, 2025
375aaf7
Add Azure deployment with private endpoints
hunterjam Dec 4, 2025
b0a202e
Add ACI deployment config and limit chat history to 5 conversations w…
hunterjam Dec 4, 2025
7fde44b
Filter chat history by authenticated user
hunterjam Dec 5, 2025
7b451ca
Added .zip
hunterjam Dec 5, 2025
4d08e29
UI redesign: Contoso branding, new welcome card, updated content preview
hunterjam Dec 5, 2025
d7a93af
Update product catalog to Contoso Paints with 16 paint colors
hunterjam Dec 5, 2025
d008637
Add responsive UI design and product image proxy
hunterjam Dec 8, 2025
68ba13e
Add conversational brief review feature
hunterjam Dec 8, 2025
17efe9c
Add heartbeat mechanism and visual progress indicator for content gen…
hunterjam Dec 8, 2025
0cbbacd
Clean up legacy agent code and improve UI progress indicators
hunterjam Dec 9, 2025
b11eb41
Update deployment scripts for Agent Framework architecture
hunterjam Dec 9, 2025
e481ea8
Add gpt-image-1 support as alternative to DALL-E 3
hunterjam Dec 9, 2025
8d7440f
v1.17: Fix 60-second VNet timeout with polling-based content generation
hunterjam Dec 10, 2025
5ac9a80
Fix image download to include text overlay, remove attach file button…
hunterjam Dec 10, 2025
548b8dd
feat(infra): Add private networking ACI deployment with managed identity
hunterjam Dec 11, 2025
cec45a6
Infrastructure cleanup, frontend improvements, and deployment automation
hunterjam Dec 15, 2025
b6adf96
Fix image generation env vars and add post-deploy improvements
hunterjam Dec 16, 2025
c17434c
Fix admin API, orchestrator, and conversation retrieval bugs
hunterjam Dec 17, 2025
5f0c652
Clean up: add rai_results to gitignore, remove unused rai_test.py
hunterjam Dec 17, 2025
bd71293
Code cleanup: remove unused import and build artifact
hunterjam Dec 17, 2025
8e8fef5
Add Azure Developer CLI (azd) deployment guide
hunterjam Dec 17, 2025
5d3f053
Add comprehensive local development guide
hunterjam Dec 17, 2025
5b98cb5
feat: Add dynamic clarifying questions for incomplete creative briefs
hunterjam Dec 18, 2025
bb3c856
feat: Add chat history toggle button and SamplePrompt icon
hunterjam Dec 18, 2025
1fbca26
chore: Remove build output directories from git tracking
hunterjam Dec 18, 2025
91dbbb3
Updated backend structure by moving API Dockerfile into backend folder
Ragini-Microsoft Dec 24, 2025
a9f48a0
Remove configuration and dependency files of backend from src
Ragini-Microsoft Dec 24, 2025
4c7cf14
Added frontend dockerfile
Ragini-Microsoft Dec 24, 2025
48fb8d6
updated the infra code
Ragini-Microsoft Dec 24, 2025
7b00bc6
removed the ACR deployment and few infra updates
Ragini-Microsoft Dec 30, 2025
95d022c
remove unused Dockerfile for backend service
Ragini-Microsoft Dec 31, 2025
60d580b
add devcontainer configuration and setup script
Ragini-Microsoft Dec 31, 2025
e4acde2
update script paths in setup_env.sh for correct permissions
Ragini-Microsoft Dec 31, 2025
29f00eb
add --only-show-errors flag to Azure CLI command to suppress welcome …
Ragini-Microsoft Dec 31, 2025
524c3c3
remove execute permission commands from setup_env.sh
Ragini-Microsoft Dec 31, 2025
4307e5f
minor update in post_deploy
Ragini-Microsoft Dec 31, 2025
3736b99
adjust Azure CLI command execution for cross-platform compatibility
Ragini-Microsoft Dec 31, 2025
57abded
Add initial VS Code web support files and configuration
Ragini-Microsoft Dec 31, 2025
af1da8d
Remove branch specification from azd init command in install.sh
Ragini-Microsoft Jan 1, 2026
268dc76
Update GitHub Codespaces, Dev Containers and VS Cde Web links in READ…
Ragini-Microsoft Jan 1, 2026
7886a78
Remove preprovision hooks and skipContainerDeployment parameter from …
Ragini-Microsoft Jan 1, 2026
ee7758c
update ACR name
Ragini-Microsoft Jan 2, 2026
c5569c6
update VS Code Web URL to use stable version
Ragini-Microsoft Jan 5, 2026
2ce9ee5
Merge pull request #2 from hunterjam/psl-contentgen
hunterjam Jan 5, 2026
476cc2e
update local development scripts and output variable names
Ragini-Microsoft Jan 7, 2026
3f039d0
fix: Use ad_token_provider for automatic token refresh
hunterjam Jan 7, 2026
a888b78
feat: Add sample image generation script
hunterjam Jan 7, 2026
5fd2d0b
feat: Add sample content generation script
hunterjam Jan 7, 2026
2ce1264
feat: include blob URL in generate response
hunterjam Jan 7, 2026
c1dd186
Merge branch 'main' of https://github.com/hunterjam/content-generatio…
Ragini-Microsoft Jan 8, 2026
de0f11a
added Azure AI User role to deployer
Ragini-Microsoft Jan 8, 2026
70ff58e
add login prompt for azure authentication
Ragini-Microsoft Jan 8, 2026
37fa6fb
included gpt-image-1.5 option
Ragini-Microsoft Jan 8, 2026
c88ac98
update the Azure authentication check before role assignment
Ragini-Microsoft Jan 8, 2026
447c317
Merge pull request #3 from hunterjam/psl-contentgen
hunterjam Jan 8, 2026
65fd2b0
feat: add Azure AI Foundry support with direct image API
hunterjam Jan 8, 2026
db7c1ab
fix: Foundry integration with correct SDK usage
hunterjam Jan 8, 2026
8c8f677
fix: Use direct Azure OpenAI endpoint for Foundry mode chat
hunterjam Jan 8, 2026
3d17cc8
Add Azure AI Foundry environment variables to ACI deployment
hunterjam Jan 8, 2026
dcb1926
removed the az login dependency during deployment
Ragini-Microsoft Jan 9, 2026
e57e344
Merge branch 'main' of https://github.com/hunterjam/content-generatio…
Ragini-Microsoft Jan 9, 2026
91b8b02
Merge pull request #4 from hunterjam/psl-contentgen
hunterjam Jan 9, 2026
433bc13
Update solution documentation
hunterjam Jan 9, 2026
7ed921f
Update solution architecture image
hunterjam Jan 9, 2026
ae485db
ui updates
gpickett Jan 10, 2026
7b3b7d7
Improve post-deploy script logging in azure.yaml
Ragini-Microsoft Jan 12, 2026
455ca23
Merge pull request #5 from hunterjam/psl-contentgen
hunterjam Jan 12, 2026
c7ebf6c
build fix
gpickett Jan 12, 2026
28c67c5
added back fields and fixed bugs
gpickett Jan 13, 2026
3c81cc2
Initial build docker and optional push
Avijit-Microsoft Jan 13, 2026
f32849a
Update Docker tag name to 'latest' for main branch
Avijit-Microsoft Jan 13, 2026
29e06ce
update frontend folder structure (src → app/frontend)
Ragini-Microsoft Jan 13, 2026
392ae51
add .dockerignore for API Docker build
Ragini-Microsoft Jan 13, 2026
9e50355
updated local dev scripts
Ragini-Microsoft Jan 13, 2026
578f47d
Merge pull request #7 from Avijit-Microsoft/main
hunterjam Jan 13, 2026
51b38ce
added orginal images
gpickett Jan 13, 2026
ec5e102
fix alignment of no messages text
gpickett Jan 14, 2026
6dbbe7d
Merge pull request #6 from hunterjam/UIupdates
hunterjam Jan 15, 2026
46b98ea
fix: show anonymous conversations in chat history
hunterjam Jan 15, 2026
b763494
fix: update agent_framework import from HandoffUserInputRequest to Ha…
hunterjam Jan 15, 2026
b5ceb92
Fix: update HandoffBuilder API call from set_coordinator to with_star…
hunterjam Jan 15, 2026
439c4d5
Add graceful workflow termination for RAI violations
hunterjam Jan 15, 2026
5caf234
Fix RAI termination: check at application layer, not just workflow level
hunterjam Jan 15, 2026
54b8380
Strengthen agent instructions to absolutely forbid handoff after RAI …
hunterjam Jan 15, 2026
6908dc5
Fix RAI detection: check ALL messages in conversation, not just last …
hunterjam Jan 15, 2026
ba19f52
Expand RAI refusal patterns to catch more agent responses
hunterjam Jan 15, 2026
e19f463
Add proactive harmful content detection at input layer
hunterjam Jan 15, 2026
370b32f
Clean up redundant RAI refusal detection code
hunterjam Jan 15, 2026
c00a306
Revert "updated local dev scripts"
Ragini-Microsoft Jan 16, 2026
a51a2ab
Revert "add .dockerignore for API Docker build"
Ragini-Microsoft Jan 16, 2026
bdb3c15
Revert "update frontend folder structure (src → app/frontend)"
Ragini-Microsoft Jan 16, 2026
ab8b290
Merge branch 'main' of https://github.com/hunterjam/content-generatio…
Ragini-Microsoft Jan 16, 2026
165a35f
updated frontend folder structure (src/app/frontend)
Ragini-Microsoft Jan 16, 2026
328ac28
backend .dockerignore file added
Ragini-Microsoft Jan 16, 2026
2de49a3
update local dev scripts
Ragini-Microsoft Jan 16, 2026
e435685
Merge pull request #8 from hunterjam/psl-contentgen
hunterjam Jan 16, 2026
a005875
Code cleanup: remove unused imports, fix image caching, update produc…
hunterjam Jan 16, 2026
58733d9
Fix Agent Framework API: use agent_response.messages instead of conve…
hunterjam Jan 16, 2026
d14060b
feat(ui): move compliance violations to end of content with collapsib…
hunterjam Jan 16, 2026
bf004e2
refactor: replace Facebook/Instagram references with 'social media'
hunterjam Jan 16, 2026
4c00855
fix: prevent text in generated images and improve overlay handling
hunterjam Jan 16, 2026
5bc5618
Strengthen no-text instructions in image generation prompts
hunterjam Jan 16, 2026
33465a5
Fix product/campaign logic issues
hunterjam Jan 16, 2026
2277be9
Fix: Add user guidance callouts to InlineContentPreview (correct file)
hunterjam Jan 16, 2026
db1bc65
Remove unused ContentPreview.tsx (app uses InlineContentPreview)
hunterjam Jan 16, 2026
918aed0
Remove unused TaskHeader.tsx component
hunterjam Jan 16, 2026
f99ff77
Remove unused API functions and types from frontend
hunterjam Jan 16, 2026
0f967c4
Add transition document for project handoff
hunterjam Jan 16, 2026
951b903
Pin agent-framework to stable version 1.0.0b260114
Ragini-Microsoft Jan 20, 2026
ddb103b
Fix: Hide 'Content generated successfully! Headline:' message
hunterjam Jan 20, 2026
e4f40e1
Fix: Show missing key areas in brief review message
hunterjam Jan 20, 2026
89bfde0
Fix inconsistent photorealistic compliance severity
hunterjam Jan 21, 2026
172c323
Fix multiple UI bugs
hunterjam Jan 21, 2026
d8c9a28
Remove unused onActionChipClick prop from InlineContentPreview
hunterjam Jan 21, 2026
bcae72c
Fix: Clarify character limit guidelines for compliance agent
hunterjam Jan 21, 2026
5698c51
Disable chat history selection and See All during content generation
hunterjam Jan 21, 2026
37e51a9
added back delete and rename functionality
gpickett Jan 21, 2026
b318e95
Fix: clarifying responses now update pending brief
hunterjam Jan 21, 2026
f97d5f9
Fix: display all brief fields in single consistent grey box
hunterjam Jan 21, 2026
34b1c2e
added legacy /userid partition key
gpickett Jan 21, 2026
a3a35d9
Merge remote-tracking branch 'origin/main' into delete&rename
gpickett Jan 21, 2026
3149e22
Added GitHub Actions workflow for automated release creation
Ragini-Microsoft Jan 22, 2026
ad58303
Merge pull request #11 from hunterjam/psl-contentgen
hunterjam Jan 22, 2026
4f352b3
deployment guide update
gpickett Jan 22, 2026
4cf11f1
docs: Update TRANSPARENCY_FAQ.md styling to match archive format
hunterjam Jan 22, 2026
0f09b5f
Add isGenerating prop to ChatHistory for disabling during content gen…
hunterjam Jan 22, 2026
12a7980
Merge pull request #12 from hunterjam/readMeUpdate
hunterjam Jan 22, 2026
594f380
update landing page
gpickett Jan 22, 2026
727023a
remove space
gpickett Jan 23, 2026
eb0c649
added azure template validation workflow
Ragini-Microsoft Jan 23, 2026
4903387
Remove hardcoded principalType (User) from AI services to allow runti…
Ragini-Microsoft Jan 23, 2026
8ea872c
Replace large SVG icons with optimized PNG versions
hunterjam Jan 23, 2026
5f0329a
Merge pull request #13 from hunterjam/updateLangingpage
hunterjam Jan 23, 2026
283bb3e
Merge pull request #14 from hunterjam/psl-contentgen-gsa
hunterjam Jan 23, 2026
c1f9772
Update TRANSPARENCY_FAQ.md - simplify evaluation SDK wording
hunterjam Jan 23, 2026
4448b22
Merge branch 'update-transparency-faq-wording'
hunterjam Jan 23, 2026
bd786ef
update deployment guide
gpickett Jan 23, 2026
feebc1e
Fix: Disable product selection during content generation
hunterjam Jan 23, 2026
7a61b45
Merge pull request #15 from hunterjam/fixDeploymentGuide
hunterjam Jan 23, 2026
428e635
fix: filter system prompt content from agent responses
hunterjam Jan 23, 2026
374ed0a
Add post-generation image regeneration capability
hunterjam Jan 23, 2026
f327596
Merge fix-system-prompt-exposure: system prompt fix and image regener…
hunterjam Jan 23, 2026
aafdc3f
Fix regenerate to persist image modifications to creative brief
hunterjam Jan 24, 2026
bed50b4
Update archive-doc-gen with latest code from document-generation-solu…
hunterjam Jan 26, 2026
53e2e60
update sample prompts
gpickett Jan 26, 2026
868f4cc
Merge pull request #16 from hunterjam/updatesamplePrompt
Fr4nc3 Jan 26, 2026
38dc31a
update landing page for readme
gpickett Jan 26, 2026
329a6a5
Merge pull request #17 from hunterjam/updateLandingpage
Fr4nc3 Jan 26, 2026
1b196ec
fix conflicts
Fr4nc3 Jan 27, 2026
723682b
Merge pull request #18 from hunterjam/features/jh-to-dev
hunterjam Jan 27, 2026
0a10285
Update orchestrator.py
Fr4nc3 Jan 28, 2026
f20ab34
Merge pull request #19 from hunterjam/features/jh-to-dev
hunterjam Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azd-template",
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
"forwardPorts": [50505],
"forwardPorts": [3000, 5000],
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
Expand Down
3 changes: 0 additions & 3 deletions .devcontainer/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@

git fetch
git pull

# provide execute permission to quotacheck script
sudo chmod +x ./scripts/quota_check_params.sh
5 changes: 2 additions & 3 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Azure Template Validation
on:
workflow_dispatch:
workflow_dispatch:

permissions:
contents: read
Expand All @@ -15,7 +15,7 @@ jobs:
steps:
# Step 1: Checkout the code from your repository
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v4

# Step 2: Validate the Azure template using microsoft/template-validation-action
- name: Validate Azure Template
Expand All @@ -28,7 +28,6 @@ jobs:
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_DEV_COLLECT_TELEMETRY: ${{ vars.AZURE_DEV_COLLECT_TELEMETRY }}

# Step 3: Print the result of the validation
- name: Print result
Expand Down
130 changes: 66 additions & 64 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,66 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: Create-Release

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
ref: ${{ github.event.workflow_run.head_sha }}

- uses: codfish/semantic-release-action@v4
id: semantic
with:
tag-format: 'v${version}'
additional-packages: |
['conventional-changelog-conventionalcommits@7']
plugins: |
[
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ type: 'feat', section: 'Features', hidden: false },
{ type: 'fix', section: 'Bug Fixes', hidden: false },
{ type: 'perf', section: 'Performance Improvements', hidden: false },
{ type: 'revert', section: 'Reverts', hidden: false },
{ type: 'docs', section: 'Other Updates', hidden: false },
{ type: 'style', section: 'Other Updates', hidden: false },
{ type: 'chore', section: 'Other Updates', hidden: false },
{ type: 'refactor', section: 'Other Updates', hidden: false },
{ type: 'test', section: 'Other Updates', hidden: false },
{ type: 'build', section: 'Other Updates', hidden: false },
{ type: 'ci', section: 'Other Updates', hidden: false }
]
}
}
],
'@semantic-release/github'
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo ${{ steps.semantic.outputs.release-version }}

- run: echo "$OUTPUTS"
env:
OUTPUTS: ${{ toJson(steps.semantic.outputs) }}
name: "Create Release"

on:
push:
branches: ["main"]

workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}

- uses: codfish/semantic-release-action@v3
id: semantic
with:
tag-format: 'v${version}'
additional-packages: |
['conventional-changelog-conventionalcommits@7']
plugins: |
[
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ type: 'feat', section: 'Features', hidden: false },
{ type: 'fix', section: 'Bug Fixes', hidden: false },
{ type: 'perf', section: 'Performance Improvements', hidden: false },
{ type: 'revert', section: 'Reverts', hidden: false },
{ type: 'docs', section: 'Other Updates', hidden: false },
{ type: 'style', section: 'Other Updates', hidden: false },
{ type: 'chore', section: 'Other Updates', hidden: false },
{ type: 'refactor', section: 'Other Updates', hidden: false },
{ type: 'test', section: 'Other Updates', hidden: false },
{ type: 'build', section: 'Other Updates', hidden: false },
{ type: 'ci', section: 'Other Updates', hidden: false }
]
}
}
],
'@semantic-release/github'
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo ${{ steps.semantic.outputs.release-version }}

- run: echo "$OUTPUTS"
env:
OUTPUTS: ${{ toJson(steps.semantic.outputs) }}
94 changes: 94 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Build Docker and Optional Push - Content Generation Solution Accelerator

on:
push:
branches:
- main
- dev
- demo
paths:
- 'content-gen/src/backend/**'
- 'content-gen/src/app/frontend/**'
- 'content-gen/src/app/frontend-server/**'
- '.github/workflows/docker-build.yml'
pull_request:
types:
- opened
- ready_for_review
- reopened
- synchronize
branches:
- main
- dev
- demo
paths:
- 'content-gen/src/backend/**'
- 'content-gen/src/app/frontend/**'
- 'content-gen/src/app/frontend-server/**'
- '.github/workflows/docker-build.yml'
workflow_dispatch:

permissions:
contents: read
actions: read
jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Azure Container Registry
if: ${{ (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo')) || (github.event_name == 'workflow_dispatch' && (github.ref_name == 'dependabotchanges'||github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo')) }}
uses: azure/docker-login@v2
with:
login-server: ${{ secrets.ACR_LOGIN_SERVER }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Output ACR Login Server
run: |
echo "ACR Login Server: ${{ secrets.ACR_LOGIN_SERVER }}"

- name: Determine Tag Name Based on Branch
id: determine_tag
run: |
if [[ "${{ github.ref_name }}" == "main" ]]; then
echo "tagname=latest" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref_name }}" == "dev" ]]; then
echo "tagname=dev" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref_name }}" == "demo" ]]; then
echo "tagname=demo" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref_name }}" == "dependabotchanges" ]]; then
echo "tagname=dependabotchanges" >> $GITHUB_OUTPUT
else
echo "tagname=default" >> $GITHUB_OUTPUT

fi
- name: Build and Push Docker Image for Frontend Server
uses: docker/build-push-action@v6
with:
context: ./content-gen/src/app
file: ./content-gen/src/app/WebApp.Dockerfile
push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'dependabotchanges' }}
tags: |
${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-app:${{ steps.determine_tag.outputs.tagname }}
${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-app:${{ steps.determine_tag.outputs.tagname }}_${{ steps.date.outputs.date }}_${{ github.run_number }}

- name: Build and Push Docker Image for Backend Server
uses: docker/build-push-action@v6
with:
context: ./content-gen/src/backend
file: ./content-gen/src/backend/ApiApp.Dockerfile
push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'dependabotchanges' }}
tags: |
${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-api:${{ steps.determine_tag.outputs.tagname }}
${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-api:${{ steps.determine_tag.outputs.tagname }}_${{ steps.date.outputs.date }}_${{ github.run_number }}
68 changes: 63 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,73 @@
# Virtual environments
.venv
venv
myenv
scriptsenv/
scriptenv

# Environment files with secrets
.env
.env.local
.env.*.local
*.env

# Azure
.azure/

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/
eggs/
*.egg

# Jupyter
.ipynb_checkpoints/

# IDE
.vscode/
.idea/
*.swp
*.swo

venv
myenv
# Node
/content-gen/src/app/frontend/node_modules/
/content-gen/src/app/frontend-server/node_modules/
/content-gen/src/app/frontend-server/static/
/content-gen/src/app/frontend-server/*.zip
node_modules/

scriptsenv/
# Build output
/content-gen/src/app/static/
/content-gen/src/app/frontend/dist/

scriptenv
pdf
# Logs
*.log
logs/

# Keys and credentials
*.pem
*.key
*.pfx
*.p12
*secret*
*credential*

# OS files
.DS_Store
Thumbs.db

# Misc
pdf
*.bak
*.tmp
*.zip

# RAI evaluation results
rai_results/
**/rai_results/
Loading