Skip to content

Merge pull request #17 from kamikazebr/dev #1

Merge pull request #17 from kamikazebr/dev

Merge pull request #17 from kamikazebr/dev #1

Workflow file for this run

name: Staging Build
#on: pull_request
on:
push:
branches:
- main
env:
CONTEXT: ./packages/ml
TARGET: prod
jobs:
check-changes:
name: Check for changes
runs-on: 'ubuntu-latest'
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: steps.changed-files.outputs.any_changed == 'true'

Check failure on line 30 in .github/workflows/staging.yml

View workflow run for this annotation

GitHub Actions / Staging Build

Invalid workflow file

The workflow is not valid. .github/workflows/staging.yml (Line: 30, Col: 9): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/workflows/build-push.yml
with:
CONTEXT: ./packages/ml
TARGET: prod
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}