Skip to content

feat: navigate to station #29

feat: navigate to station

feat: navigate to station #29

Workflow file for this run

on: pull_request
name: Staging pull request to alpha.mgira.pt/pr/number
jobs:
web-deploy:
name: Staging to alpha.mgira.pt
runs-on: ubuntu-latest
environment:
name: Staging
url: https://alpha.mgira.pt/pr/${{ github.event.pull_request.number }}
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_PASSWORD }}
server-dir: /domains/alpha.mgira.pt/public_html/pr/${{ github.event.pull_request.number }}/