Update build-and-deploy.yml
This commit is contained in:
parent
b66593ff18
commit
3624d5376d
1 changed files with 4 additions and 8 deletions
12
.github/workflows/build-and-deploy.yml
vendored
12
.github/workflows/build-and-deploy.yml
vendored
|
@ -20,12 +20,8 @@ jobs:
|
||||||
uses: appleboy/scp-action@v0.1.1
|
uses: appleboy/scp-action@v0.1.1
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
key: ${{ secrets.KEY }}
|
||||||
source: .htaccess,index.html,styles.css
|
source: index.html,styles.css
|
||||||
target: /home/${{ secrets.USERNAME }}/sinsaludar.com
|
target: ${{ secrets.TARGET }}
|
||||||
- name: Cloudflare Purge Cache
|
|
||||||
uses: jakejarvis/cloudflare-purge-action@v0.3.0
|
|
||||||
env:
|
|
||||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
|
||||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
|
||||||
|
|
Loading…
Reference in a new issue