-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (33 loc) · 1.29 KB
/
main.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
43
44
45
46
47
48
49
50
51
52
on: [push]
jobs:
newrelic:
runs-on: ubuntu-latest
name: New Relic
steps:
- name: Set Release Version from Tag
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
- name: Create New Relic deployment marker
uses: newrelic/deployment-marker-action@master
with:
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID }}
revision: "${{ env.RELEASE_VERSION }}"
description: "This is the best deployment marker"
changelog: "Things changed, here is the log. Super exciting."
# jobs:
# new_relic:
# runs-on: ubuntu-latest
# name: New Relic Deployment Marker GitHub Action
# steps:
# # - name: Checkout
# # uses: actions/checkout@v2
# - name: Create deployment marker
# uses: newrelic/deployment-marker-action@feat/test-the-action
# with:
# apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
# accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
# region: US
# applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID }}
# revision: 'sblue-newrelic-deployment-marker-action-${{ github.sha }}'
# user: '${{ github.actor }}'