In my Laravel app, I have a GitHub Action set up for deployment. Currently, it deploys the master branch, but I want it to deploy the beta branch instead. How can I modify the GitHub Action to achieve this?
name: Fly Deploy
on:
push:
branches: [ "beta" ]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy