This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
gh-actions: fix workflows #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push main | |
on: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
with: | |
ref: ${{ github.ref }} | |
test: | |
uses: ./.github/workflows/test-workflows.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 }} |