test gitea
Some checks failed
Deploy to Railway / deploy (push) Failing after 11s
Network Test / test_network (push) Successful in 2m11s

This commit is contained in:
Mykhailo Svishchov
2026-03-06 23:55:35 +02:00
parent 3597a30cdd
commit 61c562b898
2 changed files with 22 additions and 10 deletions

View File

@@ -1,20 +1,14 @@
name: Deploy to Railway
on:
push:
branches:
- main # Only deploy when you push to the main branch
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
# This forces git to use the IP we know works
repository: http://100.122.146.65:3000/admin/honey-be.git
- name: Install Railway CLI
run: npm install -g @railway/cli

View File

@@ -0,0 +1,18 @@
name: Network Test
on: [push]
jobs:
test_network:
runs-on: ubuntu-latest
steps:
- name: Inspect Container Environment
run: |
echo "1. My IP address:"
hostname -I
echo "2. My Hosts file:"
cat /etc/hosts
echo "3. My Resolv.conf:"
cat /etc/resolv.conf
echo "4. Can I see Gitea by IP?"
curl -I http://172.19.0.2:3000 || echo "Failed to reach IP"
echo "5. Can I see Gitea by Name?"
curl -I http://server:3000 || echo "Failed to reach Name"