File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ github.com/dialogware/www.git
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ DOCS/PROJECTS.md
3
3
DOCS /PROJECTS_LOCAL.md
4
4
package-lock.json
5
5
.github_token
6
+ .github.token
6
7
# Logs
7
8
logs
8
9
* .log
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# chmod +x push.sh
3
3
# 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)
5
6
flatedit
6
7
cp -fv README.md md/index.md
7
8
yarn build
24
25
25
26
# git add . # To add the changes in local repository
26
27
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} "
29
30
git push -u origin master # To push the changes in remote repository
30
31
You can’t perform that action at this time.
0 commit comments