38 lines
1 KiB
YAML
38 lines
1 KiB
YAML
name: Event Store
|
|
|
|
concurrency:
|
|
group: event-store
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*standardnotes/event-store*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
call_server_utility_workflow:
|
|
name: Server Utility
|
|
uses: standardnotes/server/.github/workflows/common-server-utility.yml@main
|
|
with:
|
|
service_name: event-store
|
|
workspace_name: "@standardnotes/event-store"
|
|
deploy_web: false
|
|
package_path: packages/event-store
|
|
secrets: inherit
|
|
|
|
newrelic:
|
|
needs: call_server_utility_workflow
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Create New Relic deployment marker for Worker
|
|
uses: newrelic/deployment-marker-action@v1
|
|
with:
|
|
accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
|
|
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
|
|
applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_EVENT_STORE_PROD }}
|
|
revision: "${{ github.sha }}"
|
|
description: "Automated Deployment via Github Actions"
|
|
user: "${{ github.actor }}"
|