From 1f8f1149cbe2646997a5357f5945fe605a1997a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=93=99=F0=9D=93=BE=F0=9D=93=B5=F0=9D=93=B2?= =?UTF-8?q?=F0=9D=93=B8?= Date: Mon, 10 Feb 2025 22:50:50 +0100 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baf5707..1c4703b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,9 +29,6 @@ jobs: - name: Build NGINX run: | touch $HOME/.dockerenv - echo $HOME - ls -la $HOME - sleep 3000 cd $HOME/The-World-Is-Yours/ sudo bash build/run.sh new sudo bash build/run.sh build From e6f35b2a1ff99ad401d1b190375112bd7f800064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=93=99=F0=9D=93=BE=F0=9D=93=B5=F0=9D=93=B2?= =?UTF-8?q?=F0=9D=93=B8?= Date: Mon, 10 Feb 2025 22:52:09 +0100 Subject: [PATCH 2/2] Update run.sh --- build/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/run.sh b/build/run.sh index 9016a7a..c2886ab 100644 --- a/build/run.sh +++ b/build/run.sh @@ -311,7 +311,7 @@ function post_build() { curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nginx/live/default > /nginx/live/default mkdir -p /hostdata/default/public_html/ && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/index.html > /hostdata/default/public_html/index.html mkdir -p /hostdata/default/public_html/cdn/modsec && curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/modsec/aes.min.js > /hostdata/default/public_html/cdn/modsec/aes.min.js - if [ -f "/run/.containerenv" ] || [ -f "/.dockerenv" ]; then + if [ -f "/run/.containerenv" ] || [ -f "/.dockerenv" ] || [ -f "/home/runner/.dockerenv" ]; then echo "Skipping systemctl commands on GitHub runner" mkdir -p /etc/systemd/system/ curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/Jammy/nginx.service > /etc/systemd/system/nginx.service