fix: improve rating style #18
Workflow file for this run
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: | |
pull_request: | |
types: | |
- closed | |
name: Staging pull request to alpha.mgira.pt/pr/number | |
jobs: | |
if_merged: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
environment: | |
name: Staging | |
steps: | |
# Checkout the repository | |
- name: Get latest code | |
uses: actions/checkout@v4 | |
# Delete files of merged PR | |
- name: Delete the remote files of the merged pull-request | |
uses: StephanThierry/ftp-delete-action@v2.1 | |
with: | |
host: ${{ secrets.FTP_SERVER }} | |
user: ${{ secrets.FTP_USER }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
remoteFiles: "*" | |
remoteDirectories: /domains/alpha.mgira.pt/public_html/pr/${{ github.event.pull_request.number }}/ | |
workingDir: "." | |
ignoreSSL: "1" |