moved versioning information to a separate file #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
environment: | |
name: Staging | |
url: https://alpha.mgira.pt | |
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/ |