Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascarlos-dev authored Nov 26, 2023
1 parent af770f5 commit df6684e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: push
name: Publish Website
jobs:
web-deploy:
name: 🚀 Deploy Website Every Commit
runs-on: ubuntu-latest
steps:
- name: Setup PHP 🐘
uses: douglascarlos-dev/setup-php@v2

- name: 📂 Sync Files
uses: douglascarlos-dev/Clientes-Gestor@v1
with:
target-server: 164.92.116.102
remote-user: root
private-ssh-key: ${{ secrets.droplet }}
destination-path: /var/www/subdomains/clientesgestor.douglascarlos.dev/
rsync-options: --archive --verbose --compress --human-readable --progress --delete-after --exclude=vendor

0 comments on commit df6684e

Please sign in to comment.