From 701d94fbb260ffeef9ec5e11a721ecb612edf4e5 Mon Sep 17 00:00:00 2001 From: AbnerLee Date: Mon, 25 Mar 2024 20:17:16 +0800 Subject: [PATCH] Update deploy_aliyun.yml --- .github/workflows/deploy_aliyun.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy_aliyun.yml b/.github/workflows/deploy_aliyun.yml index 93e91948..d8d5b824 100644 --- a/.github/workflows/deploy_aliyun.yml +++ b/.github/workflows/deploy_aliyun.yml @@ -37,14 +37,13 @@ jobs: ssh-add ~/.ssh/id_rsa_ec2 # SETUP GIT rm -rf .git - git init + git init -b master 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 add . git commit -m "update Gemfile" - git checkout -b master env: PEM_KEY: ${{secrets.ALIYUN_PEM}}