-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,14 @@ jobs: | |
eval "$(ssh-agent -s)" | ||
ssh-add ~/.ssh/id_rsa_ec2 | ||
# SETUP GIT | ||
rm -rf .git | ||
git init | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Typora" | ||
git remote add a [email protected]:theme | ||
sed -i 's/rubygems.org/gems.ruby-china.com/g' Gemfile | ||
git commit -am "update Gemfile" | ||
git add . | ||
git commit -m "update Gemfile" | ||
git checkout -b master | ||
env: | ||
PEM_KEY: ${{secrets.ALIYUN_PEM}} | ||
|