Adding subdomain foodie.hackclub.com #5801
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: test | |
| on: ['push', 'pull_request_target'] | |
| jobs: | |
| octodns: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # For forked PRs: checkout the PR head (fork + SHA) | |
| - name: Checkout PR head | |
| if: github.event_name == 'pull_request_target' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| # For normal pushes: default checkout | |
| - name: Checkout (push) | |
| if: github.event_name != 'pull_request_target' | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3' | |
| - name: Install OctoDNS | |
| run: pip install 'octodns>=1.5.0' octodns-cloudflare octodns-dnsimple | |
| - name: Do a dry run | |
| run: ./bin/dry-run | |
| env: | |
| DNSIMPLE_ACCOUNT_NUMBER: ${{ secrets.DNSIMPLE_ACCOUNT_NUMBER }} | |
| DNSIMPLE_API_KEY: ${{ secrets.DNSIMPLE_API_KEY_READ_ONLY }} | |
| CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN_READ_ONLY }} | |