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 5, 2024
1 parent a313ced commit 033c6c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy_aliyun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-depth: 1

- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.ALIYUN_SERVER_ACCESS_TOKEN }}
key: ${{ secrets.ALIYUN_PEM }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
name: id_rsa
if_key_exists: replace
Expand All @@ -38,12 +38,11 @@ jobs:
# SETUP GIT
git config --global user.email "hi@typora.io"
git config --global user.name "Typora"
git remote add a dokku@dokku.typoraio.cn:wiki
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 checkout -b master
env:
SSH_KEY: ${{secrets.ALIYUN_SERVER_ACCESS_TOKEN}}
PEM_KEY: ${{secrets.ALIYUN_PEM}}

- name: PUSH
Expand Down

0 comments on commit 033c6c7

Please sign in to comment.