-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/afonsosousah/mGira
- Loading branch information
Showing
3 changed files
with
3,333 additions
and
3,682 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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/ |
Oops, something went wrong.