47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
name: Workspace Server
|
|
|
|
concurrency:
|
|
group: workspace
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*standardnotes/workspace-server*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
call_server_application_workflow:
|
|
name: Server Application
|
|
uses: standardnotes/server/.github/workflows/common-server-application.yml@main
|
|
with:
|
|
service_name: workspace
|
|
workspace_name: "@standardnotes/workspace-server"
|
|
package_path: packages/workspace
|
|
secrets: inherit
|
|
|
|
newrelic:
|
|
needs: call_server_application_workflow
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Create New Relic deployment marker for Web
|
|
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_WORKSPACE_WEB_PROD }}
|
|
revision: "${{ github.sha }}"
|
|
description: "Automated Deployment via Github Actions"
|
|
user: "${{ github.actor }}"
|
|
|
|
- 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_WORKSPACE_WORKER_PROD }}
|
|
revision: "${{ github.sha }}"
|
|
description: "Automated Deployment via Github Actions"
|
|
user: "${{ github.actor }}"
|