Skip to content

Commit

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

on: push
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: Staging to alpha.mgira.pt
name: 🎉 Deploy
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
- name: 🚚 Get latest code
uses: actions/checkout@v3

- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USER }}
server: s0.serv00.com
username: f8871_github
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /domains/alpha.mgira.pt/public_html/

0 comments on commit 4455331

Please sign in to comment.