Merge pull request #9 from noClaps/add-release-action #1
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: Verify Custom Domain on Render | ||
on: | ||
push: | ||
branches: [ main ] | ||
jobs: | ||
verify-domain: | ||
runs-on: ubuntu-latest | ||
if: ${{ secrets.RENDER_API_TOKEN != '' && secrets.RENDER_SERVICE_ID != '' }} | ||
Check failure on line 10 in .github/workflows/verify-dns.yml
|
||
steps: | ||
- name: Verify DNS for Custom Domain on Render | ||
run: | | ||
curl -X POST "https://api.render.com/v1/services/${{ secrets.RENDER_SERVICE_ID }}/custom-domains/${{ secrets.DOMAIN }}/verify" \ | ||
-H "Authorization: Bearer ${{ secrets.RENDER_API_KEY }}" \ | ||
-H "Content-Type: application/json" |