Skip to content

Commit 23fef46

Browse files
update docs
1 parent f0f3325 commit 23fef46

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github.project

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github.com/dialogware/www.git

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ DOCS/PROJECTS.md
33
DOCS/PROJECTS_LOCAL.md
44
package-lock.json
55
.github_token
6+
.github.token
67
# Logs
78
logs
89
*.log

push.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env bash
22
# chmod +x push.sh
33
#GITHUB_TOKEN
4-
[ -z $GITHUB_TOKEN ] && GITHUB_TOKEN=$(cat .github_token)
4+
[ -z $GITHUB_TOKEN ] && GITHUB_TOKEN=$(cat .github.token)
5+
[ -z $GITHUB_PROJECT ] && GITHUB_PROJECT=$(cat .github.project)
56
flatedit
67
cp -fv README.md md/index.md
78
yarn build
@@ -24,7 +25,7 @@ fi
2425

2526
#git add . # To add the changes in local repository
2627
git commit -a -m "${MESSAGE}" # To commit the changes and prepare it for remote repository
27-
git remote add origin "github.com/dialogware/www.git"
28-
echo "Pushing data to remote server!!!"
28+
git remote add origin $GITHUB_PROJECT
29+
echo "Pushing data to remote server: ${GITHUB_PROJECT}"
2930
git push -u origin master # To push the changes in remote repository
3031

0 commit comments

Comments
 (0)