Update main.yml

This commit is contained in:
𝓙𝓾𝓵𝓲𝓸
2024-09-01 05:18:26 +02:00
committed by GitHub
parent c8c4db0388
commit cd68adb0cd
+3 -3
View File
@@ -23,20 +23,20 @@ jobs:
- name: Clone the repository - name: Clone the repository
run: | run: |
cd /root/ cd $HOME
git clone https://github.com/theraw/The-World-Is-Yours.git git clone https://github.com/theraw/The-World-Is-Yours.git
cd The-World-Is-Yours/ cd The-World-Is-Yours/
- name: Build NGINX - name: Build NGINX
run: | run: |
cd /root/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
sudo bash build/run.sh postfix sudo bash build/run.sh postfix
- name: Build .deb Package - name: Build .deb Package
run: | run: |
cd /root/The-World-Is-Yours/ cd $HOME/The-World-Is-Yours/
sudo bash -c 'function create_deb() { sudo bash -c 'function create_deb() {
PKG_NAME="twiy" PKG_NAME="twiy"
VERSION=$(nginx -v 2>&1 | awk -F"/" "{print \$2}") VERSION=$(nginx -v 2>&1 | awk -F"/" "{print \$2}")