Skip to content

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: FlyIO Deployment Pre-Req Check
on:
pull_request:
branches: [ deploy ]
jobs:
DeployPreReqCheck:
runs-on: ubuntu-latest
steps:
- name: Main Branch Merge Only
if: github.base_ref == 'deploy' && github.head_ref != 'master'
run: |
echo "You can only deploy from the master branch!"
exit 1