forked from inspirehep/inspirehep
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.03 KB
/
push-master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Push master
on:
push:
branches: [master]
defaults:
run:
shell: bash
jobs:
test:
uses: ./.github/workflows/integration-tests.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: |
inspirehep/hep@${{ needs.test.outputs.backend-image-id }}
inspirehep/ui@${{ needs.test.outputs.ui-image-id }}
inspirehep/editor@${{ needs.test.outputs.editor-image-id }}
token: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}
# deploy-jupyter:
# needs:
# - test
# - deploy
# uses: ./.github/workflows/release-jupyter.yml
# with:
# sha: ${{ github.sha }}
# ref: ${{ github.ref }}
# secrets:
# harbor_username: ${{ secrets.HARBOR_USERNAME }}
# harbor_password: ${{ secrets.HARBOR_PASSWORD }}