Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 20deb48

Browse files
committed
update workflow
1 parent 1416774 commit 20deb48

3 files changed

Lines changed: 10 additions & 79 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/node.js-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323

24+
- name: Install SSH key
25+
uses: shimataro/ssh-key-action@v2
26+
with:
27+
key: ${{ secrets.SSH_KEY }}
28+
known_hosts: ${{ secrets.KNOWN_HOSTS }}
29+
2430
- name: Use Node.js ${{ matrix.node-version }}
2531
uses: actions/setup-node@v1
2632
with:
@@ -46,3 +52,7 @@ jobs:
4652

4753
- name: Build production website
4854
run: npm run build
55+
56+
- name: Deploy to wt.szp.io
57+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node-version == '14.x' }}
58+
run: rsync -avz --delete public/ sun@tillycode.com:/srv/http/tillycode/

.github/workflows/readme.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)