Switch to github workflow naming. Added auto scp
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 45s
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 45s
This commit is contained in:
parent
294956f8e7
commit
9241171e1b
@ -16,3 +16,13 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
- name: copy file via ssh password
|
||||||
|
uses: appleboy/scp-action@v0.1.4
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
source: "dist/*"
|
||||||
|
target: /home/thomas/testwww
|
||||||
|
strip_components: 1
|
Loading…
Reference in New Issue
Block a user