Create production.yaml #5
Workflow file for this run
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: test | |
on: | |
push: | |
pull_request_target: | |
jobs: | |
octodns: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Ensures the workflow checks out the base branch, not the PR branch | |
ref: ${{ github.event.pull_request.base.ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3' | |
- name: Install OctoDNS | |
run: pip install 'octodns==1.10.0' 'octodns-cloudflare==0.0.7' | |
- name: Do a dry run | |
run: ./bin/dry-run | |
env: | |
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }} | |
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} |