Merge pull request #37 from theraw/ffs

Ffs
This commit is contained in:
𝓙𝓾𝓵𝓲𝓸
2025-02-10 22:52:27 +01:00
committed by GitHub
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -29,9 +29,6 @@ jobs:
- name: Build NGINX - name: Build NGINX
run: | run: |
touch $HOME/.dockerenv touch $HOME/.dockerenv
echo $HOME
ls -la $HOME
sleep 3000
cd $HOME/The-World-Is-Yours/ cd $HOME/The-World-Is-Yours/
sudo bash build/run.sh new sudo bash build/run.sh new
sudo bash build/run.sh build sudo bash build/run.sh build
+1 -1
View File
@@ -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 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/ && 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 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" echo "Skipping systemctl commands on GitHub runner"
mkdir -p /etc/systemd/system/ 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 curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/Jammy/nginx.service > /etc/systemd/system/nginx.service