Skip to content

Commit d609069

Browse files
chore: comment the old version of the github action-workflow for deploy to VM
1 parent 11e49c4 commit d609069

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/demoDeploy.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
2-
name: Deploy to demo
3-
4-
on:
5-
push:
6-
branches:
7-
- 'demo'
8-
paths:
9-
- 'src/**'
10-
repository_dispatch:
11-
types: deploy-to-demo
12-
13-
jobs:
14-
build:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: Install SSH key
18-
uses: shimataro/ssh-key-action@v2
19-
with:
20-
key: ${{ secrets.SSH_KEY }}
21-
known_hosts: ${{ secrets.KNOWN_HOSTS }}
22-
- name: Use Node.js 12.x
23-
uses: actions/setup-node@v1
24-
- uses: actions/checkout@v2
25-
with:
26-
ref: demo
27-
- run: npm install
28-
- run: npm run build:demo:prod
29-
- run: rsync -r --delete-after dist/. "${{ secrets.REMOTE_URL }}":"${{ secrets.ADDRESS }}"
1+
#
2+
#name: (Obsolete) Deploy to demo (VM)
3+
#
4+
#on:
5+
# push:
6+
# branches:
7+
# - 'demo'
8+
# paths:
9+
# - 'src/**'
10+
# repository_dispatch:
11+
# types: deploy-to-demo
12+
#
13+
#jobs:
14+
# build:
15+
# runs-on: ubuntu-latest
16+
# steps:
17+
# - name: Install SSH key
18+
# uses: shimataro/ssh-key-action@v2
19+
# with:
20+
# key: ${{ secrets.SSH_KEY }}
21+
# known_hosts: ${{ secrets.KNOWN_HOSTS }}
22+
# - name: Use Node.js 12.x
23+
# uses: actions/setup-node@v1
24+
# - uses: actions/checkout@v2
25+
# with:
26+
# ref: demo
27+
# - run: npm install
28+
# - run: npm run build:demo:prod
29+
# - run: rsync -r --delete-after dist/. "${{ secrets.REMOTE_URL }}":"${{ secrets.ADDRESS }}"

0 commit comments

Comments
 (0)