Skip to content

Commit 1aacf78

Browse files
committed
update website deploy script
1 parent 1532a99 commit 1aacf78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/deploy-website.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tmp_dir="/tmp/reacttraining.com"
99

1010
# Clone reacttraining.com repo into the tmp dir
1111
rm -rf $tmp_dir
12-
git clone --depth 2 --branch master "[email protected]:ReactTraining/reacttraining.com.git" $tmp_dir
12+
git clone --depth 2 --branch main "[email protected]:remix-run/reactrouter.com.git" $tmp_dir
1313

1414
# Build the website into the static/react-router dir
1515
rm -rf "$tmp_dir/static/react-router"
@@ -24,7 +24,7 @@ git commit \
2424
--author "Travis CI <[email protected]>" \
2525
-m "Update react-router website
2626
27-
https://travis-ci.com/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID"
27+
$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
2828

2929
# Deploy
30-
git push origin master
30+
git push origin main

0 commit comments

Comments
 (0)