Skip to content

👷 remove nektos/act #3

👷 remove nektos/act

👷 remove nektos/act #3

Workflow file for this run

name: Staging Build
on:
push:
branches:
- main
jobs:
check-changes:
name: Check for changes
runs-on: ubuntu-latest
outputs:
any_changed: ${{ steps.changed-files.outputs.any_changed }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get changed files in the packages/ml folder
id: changed-files
uses: tj-actions/changed-files@v40
with:
files: packages/ml/**/*
build:
name: Build + Push Image
needs: check-changes
if: needs.check-changes.outputs.any_changed == 'true'
uses: ./.github/workflows/build-push.yml
with:
CONTEXT: ./packages/ml
TARGET: prod
# Only used with nektos/act to test locally
# secrets:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}