Switch to github workflow naming. Added auto scp
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 45s

This commit is contained in:
Thomas Cole 2023-08-04 10:12:39 -04:00
parent 294956f8e7
commit 9241171e1b

View File

@ -16,3 +16,13 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- 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