File tree 5 files changed +14
-9
lines changed
5 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
stack.css
3
3
index.html
4
+ dist
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
- sed -e ' s/href/target="_blank" rel="noopener" href/g' stack.html > index.html
3
- node-sass stack.scss > stack.css
2
+ sed -e ' s/href/target="_blank" rel="noopener" href/g' src/ stack.html > dist/ index.html
3
+ node-sass src/ stack.scss > dist/ stack.css
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
- git push origin master &&
3
- (git branch -D gh-pages || echo " no gh-pages branch to delete: passing" ) &&
4
- git checkout -b gh-pages &&
5
- npm run build &&
6
- git add index.html stack.css -f &&
7
- git commit -m ' update build' &&
8
- git push origin --force gh-pages &&
2
+
3
+ set -eu
4
+
5
+ git push origin master
6
+ (git branch -D gh-pages || echo " no gh-pages branch to delete: passing" )
7
+ git checkout -b gh-pages
8
+ npm run build
9
+ cp dist/index.html dist/stack.css .
10
+ git add index.html stack.css -f
11
+ git commit -m ' update build'
12
+ git push origin --force gh-pages
9
13
git checkout master
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments