forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (34 loc) · 956 Bytes
/
deploy_test.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
name: Deploy to Test Server
on:
push:
branches:
- community_version
tags:
- v*
pull_request:
branches:
- main
- development
workflow_dispatch:
jobs:
build:
name: build
runs-on:
- self-hosted
- testing
steps:
# Check out current commit
- name: Checkout
uses: actions/checkout@v3
- name: Build JHU Image
run: make jhu_up
- name: Add demo content
run: make jhu_demo_content
- name: Notify Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: failure()