|
|
|
@ -29,7 +29,6 @@ on:
|
|
|
|
|
jobs:
|
|
|
|
|
deploy-dev:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- name: set ssh key # Temporarily set up ssh key
|
|
|
|
@ -45,7 +44,6 @@ jobs:
|
|
|
|
|
# 【Attention】Log in with the 'work' account, manually create /home/work/imooc-lego directory
|
|
|
|
|
# Then git clone https://username:password@github.com/imooc-lego/biz-editor-server.git -b dev (private repository, use GitHub username and password)
|
|
|
|
|
# Remember to delete origin to avoid exposing GitHub password
|
|
|
|
|
|
|
|
|
|
cd /home/work/imooc-lego/biz-editor-server;
|
|
|
|
|
git remote add origin https://openimbot:${{secrets.WFP_PASSWORD}}@github.com/OpenIMSDK/open-im-server.git;
|
|
|
|
|
git checkout dev;
|
|
|
|
|