-
Notifications
You must be signed in to change notification settings - Fork 454
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
3 additions
and
5 deletions.
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- name: Cloning repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
fetch-depth: 0 | ||
|
||
- name: Install SSH Key | ||
uses: shimataro/ssh-key-action@v2 | ||
|
@@ -36,14 +36,12 @@ jobs: | |
eval "$(ssh-agent -s)" | ||
ssh-add ~/.ssh/id_rsa_ec2 | ||
# SETUP GIT | ||
rm -rf .git | ||
git init -b master | ||
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 add . | ||
git commit -m "update Gemfile" | ||
git commit -am "update Gemfile" | ||
git checkout -b master | ||
env: | ||
PEM_KEY: ${{secrets.ALIYUN_PEM}} | ||
|
||
|