Skip to content

feat: add route recalculation #96

feat: add route recalculation

feat: add route recalculation #96

Workflow file for this run

on:
pull_request:
workflow_dispatch:
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 }}/