diff --git a/.github/workflows/deploy_aliyun.yml b/.github/workflows/deploy_aliyun.yml index 5e71cf7a..93e91948 100644 --- a/.github/workflows/deploy_aliyun.yml +++ b/.github/workflows/deploy_aliyun.yml @@ -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 "hi@typora.io" git config --global user.name "Typora" git remote add a dokku@dokku.typoraio.cn: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}}