Skip to content

Commit a3b7e74

Browse files
authored
Merge pull request #286 from hackupc/CD/Added-provisional-CD
CD: Added temporary betatest continious deployment
2 parents b8335f6 + f239c18 commit a3b7e74

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/backendTest.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy on BackendTest
2+
3+
on:
4+
push:
5+
branches:
6+
- 'develop'
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
16+
- name: Git pull and rebuild docker
17+
uses: appleboy/ssh-action@master
18+
with:
19+
host: ${{ secrets.HOST }}
20+
username: ${{ secrets.USERNAME }}
21+
port: ${{ secrets.PORT }}
22+
key: ${{ secrets.SSHKEY }}
23+
script: ${{ secrets.SCRIPT }}

0 commit comments

Comments
 (0)