File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ yarn start
53
53
### Build
54
54
55
55
``` bash
56
- yarn build
56
+ ./ build.sh
57
57
```
58
58
59
59
### Deploy to Github Pages (https://github.com/Coderockr/coderockr.github.com)
60
60
``` bash
61
- ./gh-pages .sh
61
+ ./deploy .sh
62
62
```
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ yarn build
3
+ cp ./CNAME ./dist/CNAME
4
+ cp ./humans.txt ./dist/humans.txt
5
+ cp ./crossdomain.xml ./dist/crossdomain.xml
6
+ cp ./README.md ./dist/README.md
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- yarn build
3
- cp ./CNAME ./dist/CNAME
4
- cp ./humans.txt ./dist/humans.txt
5
- cp ./crossdomain.xml ./dist/crossdomain.xml
6
- cp ./README.md ./dist/README.md
7
- git add .
8
- git commit -m " Atualizado em $( date +' %F' ) "
9
2
git subtree split --prefix dist -b master # create a local master branch containing the splitted output folder
10
3
git push -f origin master:master # force the push of the master branch to the remote master branch at origin
11
4
git branch -D master # delete the local master because you will need it: ref
You can’t perform that action at this time.
0 commit comments