Skip to content

Commit

Permalink
Update staging.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsosousah authored Jan 25, 2024
1 parent 4455331 commit 45d0f7f
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
on: push
name: 🚀 Deploy website on push
on:
push:
branches:
- main
name: Staging to alpha.mgira.pt on push

jobs:
web-deploy:
name: 🎉 Deploy
name: Staging to alpha.mgira.pt
runs-on: ubuntu-latest
environment:
name: Staging
url: https://alpha.mgira.pt
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: 📂 Sync files
# Checkout the repository
- name: Get latest code
uses: actions/checkout@v4
# sync files via FTP
- name: Sync files via FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: s0.serv00.com
username: f8871_github
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /domains/alpha.mgira.pt/public_html/

0 comments on commit 45d0f7f

Please sign in to comment.