Skip to content

Rename ci.yml to test-fedired.yml #1

Rename ci.yml to test-fedired.yml

Rename ci.yml to test-fedired.yml #1

Workflow file for this run

name: Check Domain Status
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check-domain:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check domain status
run: |
echo "Checking domain status..."
STATUS=$(curl -Is https://fedired.com | head -n 1)
if [[ $STATUS == *"200"* ]]; then
echo "Domain is reachable"
else
echo "Warning: Domain is not reachable"
echo "Response: $STATUS"
fi