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 ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- name: Deploy site
|
- name: Deploy site
|
||||||
uses: appleboy/scp-action@v0.1.1
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
|
||||||
port: ${{ secrets.PORT }}
|
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
key: ${{ secrets.KEY }}
|
server: ${{ secrets.HOST }}
|
||||||
source: index.html,styles.css
|
port: ${{ secrets.PORT }}
|
||||||
target: ${{ secrets.TARGET }}
|
ssh_private_key: ${{ secrets.KEY }}
|
||||||
|
remote_path: ${{ secrets.TARGET }}
|
||||||
|
|
Loading…
Reference in a new issue