Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/production-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Production Workflow

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: production-workflow-${{ github.ref }}
cancel-in-progress: true

jobs:
production-check:
name: Run production workflow
runs-on: ubuntu-latest

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

- name: Verify key production assets
run: |
test -f index.html || { echo "Production check failed: missing /index.html at repository root."; exit 1; }
test -f robots.txt || { echo "Production check failed: missing /robots.txt at repository root."; exit 1; }
test -f sitemap.xml || { echo "Production check failed: missing /sitemap.xml at repository root."; exit 1; }