feat: New Relic Alerting and Forest Dashboard #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Sync Check Service | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
sync-check: | |
name: Deploy | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
# Using Custom Composite action in ./composite-action/terraform folder | |
- name: Composite Action for Deploying Terraform Resources | |
uses: ./composite-action/terraform | |
with: | |
do_token: ${{ secrets.DO_TOKEN }} | |
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
slack_token: ${{ secrets.SLACK_TOKEN }} | |
working_directory: sync_check_terraform/ | |
environment: Sync Check Service | |
nr_license_key: ${{ secrets.NR_LICENSE_KEY }} |