Update build-and-deploy.yml
This commit is contained in:
parent
3624d5376d
commit
8741a77934
1 changed files with 5 additions and 6 deletions
11
.github/workflows/build-and-deploy.yml
vendored
11
.github/workflows/build-and-deploy.yml
vendored
|
@ -17,11 +17,10 @@ jobs:
|
|||
- run: npm ci
|
||||
- run: npm run build --if-present
|
||||
- name: Deploy site
|
||||
uses: appleboy/scp-action@v0.1.1
|
||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.2
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
port: ${{ secrets.PORT }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
source: index.html,styles.css
|
||||
target: ${{ secrets.TARGET }}
|
||||
server: ${{ secrets.HOST }}
|
||||
port: ${{ secrets.PORT }}
|
||||
ssh_private_key: ${{ secrets.KEY }}
|
||||
remote_path: ${{ secrets.TARGET }}
|
||||
|
|
Loading…
Reference in a new issue