Remove 'master' references

This commit is contained in:
Koen Rouwhorst 2020-07-26 13:29:13 +02:00
parent 433e05b83d
commit 83cad48cf3
4 changed files with 8 additions and 6 deletions

View file

@ -58,7 +58,8 @@ jobs:
``` ```
This is the action you probably want to run for each branch so that proposed changes This is the action you probably want to run for each branch so that proposed changes
could be verified before an authorized person merges these changes into `master`. could be verified before an authorized person merges these changes into the default
branch.
#### Pull request comment #### Pull request comment
@ -105,7 +106,7 @@ DNS providers.
Running the action with the 'push' argument will publish the changes with the Running the action with the 'push' argument will publish the changes with the
specified DNS providers. The example workflow depicted below contains a filtering specified DNS providers. The example workflow depicted below contains a filtering
pattern so that it only runs on the `master` branch. pattern so that it only runs on the default branch.
```yaml ```yaml
name: Push name: Push
@ -113,7 +114,7 @@ name: Push
on: on:
push: push:
branches: branches:
- master - main
jobs: jobs:
push: push:

View file

@ -2,5 +2,6 @@
Find in this folder two GitHub Actions workflow examples. Find in this folder two GitHub Actions workflow examples.
* [deploy-master.yml](deploy-master.yml): On merge into master, deploy the DNS configuration. * [deploy.yml](deploy.yml): On merge into default branch, deploy the DNS changes.
* [test-pull-request.yml](test-pull-request.yml): Lint the `dnsconfig.js` configuration file using ESLint, and preview the DNS changes. * [test.yml](test.yml): Lint `dnsconfig.js` configuration file using ESLint, and
preview the DNS changes.

View file

@ -4,7 +4,7 @@ name: deploy
on: on:
push: push:
branches: branches:
- master - main
jobs: jobs:
dnscontrol: dnscontrol: