Update build-and-deploy.yml

This commit is contained in:
Erick Ruiz de Chavez 2022-04-24 10:58:22 -04:00 committed by GitHub
parent b66593ff18
commit 3624d5376d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,12 +20,8 @@ jobs:
uses: appleboy/scp-action@v0.1.1
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
source: .htaccess,index.html,styles.css
target: /home/${{ secrets.USERNAME }}/sinsaludar.com
- name: Cloudflare Purge Cache
uses: jakejarvis/cloudflare-purge-action@v0.3.0
env:
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
key: ${{ secrets.KEY }}
source: index.html,styles.css
target: ${{ secrets.TARGET }}