Skip to content

Commit

Permalink
Merge pull request #37 from theraw/ffs
Browse files Browse the repository at this point in the history
Ffs
  • Loading branch information
theraw authored Feb 10, 2025
2 parents a92ad6e + e6f35b2 commit cfb2467
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cfb2467

Please sign in to comment.