Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

WIP Compine all

WIP Compine all #1

name: Push main
on:
push:
branches: [main]
paths:
- 'backoffice/**'
defaults:
run:
shell: bash
jobs:
lint:
uses: ./.github/workflows/backoffice/lint.yml

Check failure on line 15 in .github/workflows/push-main-backoffice.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push-main-backoffice.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
ref: ${{ github.ref }}
test:
needs: lint
uses: ./.github/workflows/backoffice/test.yml
with:
ref: ${{ github.ref }}
secrets: inherit
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: send event
uses: cern-sis/gh-workflows/.github/actions/[email protected]
with:
event-type: update
images: |
cern-sis/inspire/backoffice@${{ needs.test.outputs.image-id }}
token: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}