Fix views issue 28 #5804
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: | |
# Trigger the workflow on pull request. | |
pull_request: | |
types: [ opened, labeled, synchronize ] | |
name: π Deploy website on push | |
jobs: | |
web-deploy: | |
if: contains(github.event.pull_request.labels.*.name, 'deploy') | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v3.5.0 | |
- name: π Sync files | |
uses: SamKirkland/FTP-Deploy-Action@4.3.1 | |
with: | |
server: ${{ secrets.FRM_FTP_HOST }} | |
server-dir: ${{ github.event.repository.name }}-${{ github.event.pull_request.head.ref }}/ | |
username: ${{ secrets.FRM_FTP_USERNAME }} | |
password: ${{ secrets.FRM_FTP_PASSWORD }} | |
exclude: | | |
**/.* | |
**/.*/** | |
**/.git*/** | |
**/bin/** | |
**/node_modules/** | |
**/scss/** | |
**/tests/** | |
composer.json | |
package.json | |
package-lock.json | |
phpcs.xml | |
phpunit.xml | |
beta-deploy: | |
if: contains(github.event.pull_request.labels.*.name, 'beta deploy') | |
name: π Beta Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v3.5.0 | |
- name: π Sync files | |
uses: SamKirkland/FTP-Deploy-Action@4.3.1 | |
with: | |
server: ${{ secrets.FRM_FTP_HOST }} | |
server-dir: ${{ github.event.repository.name }}-beta/ | |
username: ${{ secrets.FRM_FTP_USERNAME }} | |
password: ${{ secrets.FRM_FTP_PASSWORD }} | |
exclude: | | |
**/.* | |
**/.*/** | |
**/.git*/** | |
**/bin/** | |
**/node_modules/** | |
**/scss/** | |
**/tests/** | |
composer.json | |
package.json | |
package-lock.json | |
phpcs.xml | |
phpunit.xml |