aaron
02/03/2023, 1:13 AMJames Sopkin
02/03/2023, 3:50 PMdeployment build
command based on which branch you are in. Otherwise there are many other CI/CD options you can useaaron
02/03/2023, 5:01 PMJames Sopkin
02/03/2023, 5:19 PM- if: github.ref == 'refs/heads/main'
name: Build and apply Prefect deployment
run: prefect deployment build $FILEPATH -n ${{ matrix.name }} ${{ matrix.schedule }} ${{ matrix.params }} -sb $STORAGE -ib $INFRA -q prod --apply
- if: github.ref != 'refs/heads/main'
name: Build and apply Prefect deployment
run: prefect deployment build $FILEPATH -n ${{ matrix.name }} ${{ matrix.params }} -sb $STORAGE -ib $INFRA -q dev --apply
aaron
02/03/2023, 5:28 PMJames Sopkin
02/03/2023, 5:30 PM