Skip to content

Remove deprecated @newrelic/next and use newrelic instead #313

Remove deprecated @newrelic/next and use newrelic instead

Remove deprecated @newrelic/next and use newrelic instead #313

Workflow file for this run

name: CD - blog app
on:
push:
branches:
- master
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Run remote script
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
port: ${{ secrets.SERVER_PORT }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.ED_KEY }}
script: /home/${{ secrets.SERVER_USER }}/dev/marshallku-blog-frontend/scripts/deploy.sh
send-notification:
needs: [deploy]
if: ${{ failure() }}
uses: marshallku/actions/.github/workflows/send-notification.yml@master
with:
failed: ${{ contains(join(needs.*.result, ','), 'failure') }}
message: "CI job failed - push"
secrets:
url: ${{ secrets.DISCORD_WEBHOOK_URI }}