Skip to content

Commit ad16769

Browse files
authored
Rename deploy script (#71)
1 parent 02c74d9 commit ad16769

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939

4040
- run:
4141
name: Build Jekyll site and push to master
42-
command: ./scripts/deploy-ghpages.sh build
42+
command: ./scripts/deploy-site.sh build

scripts/deploy-ghpages.sh renamed to scripts/deploy-site.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -e
1111
pwd
1212
remote=$(git config remote.origin.url)
1313

14-
# make a directory to put the gp-pages branch
14+
# make a directory to put the master branch
1515
mkdir master-branch
1616
cd master-branch
1717
# now lets setup a new repo so we can update the master branch
@@ -42,7 +42,7 @@ cp -a "../_site/." .
4242
# stage any changes and new files
4343
git add -A
4444
# now commit, ignoring branch master doesn't seem to work, so trying skip
45-
git commit --allow-empty -m "Deploy to GitHub pages [ci skip]"
45+
git commit --allow-empty -m "Deploy to GitHub Pages on master [ci skip]"
4646
# and push, but send any output to /dev/null to hide anything sensitive
4747
git push --force --quiet origin master
4848
# go back to where we started and remove the master git repo we made and used

0 commit comments

Comments
 (0)