Skip to content

Commit f27c2f5

Browse files
committed
disabled automatic deploy on release
1 parent 3eb2cce commit f27c2f5

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -65,39 +65,39 @@ jobs:
6565
uses: ncipollo/release-action@v1
6666
with:
6767
generateReleaseNotes: true
68-
deploy_demo:
69-
name: deploy_demo
70-
needs: build_release
71-
runs-on: ubuntu-latest
72-
steps:
73-
- name: Checkout
74-
id: checkout
75-
uses: actions/checkout@v3
68+
# deploy_demo:
69+
# name: deploy_demo
70+
# needs: build_release
71+
# runs-on: ubuntu-latest
72+
# steps:
73+
# - name: Checkout
74+
# id: checkout
75+
# uses: actions/checkout@v3
7676

77-
- name: Write SSH config & key
78-
id: write_ssh_keys
79-
env:
80-
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
81-
SSH_CONFIG: ${{ secrets.SSH_CONFIG }}
82-
run: |
83-
install -m 600 -D /dev/null ~/.ssh/id_ed25519
84-
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
85-
echo "$SSH_CONFIG" > ~/.ssh/config
86-
shell: bash
77+
# - name: Write SSH config & key
78+
# id: write_ssh_keys
79+
# env:
80+
# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
81+
# SSH_CONFIG: ${{ secrets.SSH_CONFIG }}
82+
# run: |
83+
# install -m 600 -D /dev/null ~/.ssh/id_ed25519
84+
# echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
85+
# echo "$SSH_CONFIG" > ~/.ssh/config
86+
# shell: bash
8787

88-
- name: Add server to known hosts
89-
env:
90-
SSH_JUMP_HOST: ${{ secrets.SSH_JUMP_HOST }}
91-
run: |
92-
ssh-keyscan -H $SSH_JUMP_HOST >> ~/.ssh/known_hosts
93-
shell: bash
88+
# - name: Add server to known hosts
89+
# env:
90+
# SSH_JUMP_HOST: ${{ secrets.SSH_JUMP_HOST }}
91+
# run: |
92+
# ssh-keyscan -H $SSH_JUMP_HOST >> ~/.ssh/known_hosts
93+
# shell: bash
9494

95-
- name: Deploy
96-
id: deploy
97-
env:
98-
SSH_HOST: ${{ secrets.SSH_HOST }}
99-
run: |
100-
scp -o StrictHostKeyChecking=no bin/deploy.sh $SSH_HOST:~/deploy.sh
101-
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=5 -o StrictHostKeyChecking=no $SSH_HOST './deploy.sh'
102-
ssh -o StrictHostKeyChecking=no $SSH_HOST 'rm ./deploy.sh'
103-
shell: bash
95+
# - name: Deploy
96+
# id: deploy
97+
# env:
98+
# SSH_HOST: ${{ secrets.SSH_HOST }}
99+
# run: |
100+
# scp -o StrictHostKeyChecking=no bin/deploy.sh $SSH_HOST:~/deploy.sh
101+
# ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=5 -o StrictHostKeyChecking=no $SSH_HOST './deploy.sh'
102+
# ssh -o StrictHostKeyChecking=no $SSH_HOST 'rm ./deploy.sh'
103+
# shell: bash

0 commit comments

Comments
 (0)