Skip to content

Commit

Permalink
Move vars.sh to config.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Sushrut1101 <[email protected]>
  • Loading branch information
Sushrut1101 committed Mar 3, 2022
1 parent 68e1fa9 commit 4b5ce18
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ A Free CI to Build OrangeFox Recovery
1. Install the Free ($0) Plan of [Cirrus CI](https://github.com/marketplace/cirrus-ci)
2. Allow All the Permissions from [Here](https://github.com/apps/cirrus-ci/installations/new)
3. Fork [this Repo](https://github.com/OrangeFoxRecovery/OrangeFox-CI.git).
4. Update the vars.sh (and .cirrus.yml for telegram vars) According to your Needs and push a commit.
4. Update the ```config.sh``` (and ```.cirrus.yml``` for telegram vars) According to your Needs and push a commit.
5. Go to [cirrus-ci.com](https://cirrus-ci.com) And see the Build Logs.

### - Build via a PR (Pull Request)
1. Fork [this Repo](https://github.com/OrangeFoxRecovery/OrangeFox-CI.git).
2. Edit vars.sh (Only) According to your Needs.
2. Edit ```config.sh``` (Only) According to your Needs.
3. Create a Pull Reuest.
4. Go to [cirrus-ci.com](https://cirrus-ci.com) And see the Build Logs.

Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Source Vars
source vars.sh
# Source Configs
source config.sh

# A Function to Send Posts to Telegram
telegram_message() {
Expand Down
2 changes: 1 addition & 1 deletion checks.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

CONFIG="vars.sh"
CONFIG="config.sh"

# Telegram
tg_check=$(grep 'TG' $CONFIG | wc -l)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion sync.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Source Vars
source vars.sh
source config.sh

# Change to the Home Directory
cd ~
Expand Down
2 changes: 1 addition & 1 deletion upload.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Source Vars
source vars.sh
source config.sh

# A Function to Send Posts to Telegram
telegram_message() {
Expand Down

0 comments on commit 4b5ce18

Please sign in to comment.