Skip to content

Commit

Permalink
Update deploy_aliyun.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abnerlee authored Mar 25, 2024
1 parent 32efbe6 commit 878f3af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_aliyun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 878f3af

Please sign in to comment.