Skip to content

Pro issue 1644

Pro issue 1644 #1796

Workflow file for this run

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@v2
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.gyj.ilw.mybluehost.me
protocol: ftps
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@v2
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.gyj.ilw.mybluehost.me
protocol: ftps
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