Skip to content

Keep DEVELOPMENT.md updated #1

Keep DEVELOPMENT.md updated

Keep DEVELOPMENT.md updated #1

name: Verify Redirects
on:
workflow_dispatch:
inputs:
base_url:
description: 'Base URL to test against'
required: true
default: 'https://x157.github.io'
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Create Dummy Redirect Map (Example)
# In a real scenario, this would be generated or committed to the repo
run: echo '{"/privacy.html": "/privacy"}' > redirects.json

Check failure on line 24 in .github/workflows/verify-redirects.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/verify-redirects.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
- name: Run Verification Script
run: |
# This is just a placeholder run ensuring the script exists and runs.
# We don't have a real redirects.json populated yet in this PR.
echo "Running verification script..."
# python script/verify_redirects.py --input redirects.json --base-url ${{ inputs.base_url }}
echo "Skipping actual network calls in this workflow checking until redirects.json is populated."