Skip to content

Commit

Permalink
Create staging.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsosousah committed Jan 25, 2024
1 parent bf50a14 commit 77dfdd9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches:
- main
name: Staging to alpha.mgira.pt on push

jobs:
web-deploy:
name: Staging to alpha.mgira.pt
runs-on: ubuntu-latest
steps:
# 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: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASS }}
server-dir: /domains/alpha.mgira.pt/public_html/

0 comments on commit 77dfdd9

Please sign in to comment.