Skip to content
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI Pipeline

on:
push:
branches:
- main

pull_request:
branches:
- main

jobs:
build:
runs-on: Linux

steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Display runner information
run: |
echo "Running on GitHub-hosted runner"
hostname
hostname -I
uname -a
pwd
ls -la
cat /etc/os-release
sudo whoami
sudo apt update
sudo apt install apache2 -y
sudo systemctl start apache2
sudo apt install curl
curl http://127.0.0.1:80/
echo "THE END"