Add site-to-site VPN in AWS staging towards the Azure deployment #36
Workflow file for this run
This file contains hidden or 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: Auto - Check DNS records for TLS certificates - Staging | |
# For staging, only trigger on pull request closed events | |
on: | |
pull_request: | |
types: [ closed ] | |
branches: | |
- staging | |
jobs: | |
dns_check: | |
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true | |
environment: ${{ github.base_ref }} | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
runs-on: ubuntu-latest | |
name: Auto Check DNS records for validation of TLS certificates | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Make script executable | |
run: chmod +x .github/scripts/check_dns_records_for_certificates.sh | |
- name: Run the script | |
run: .github/scripts/check_dns_records_for_certificates.sh | |