Update main.yml
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user