mirror of
https://github.com/koenrh/dnscontrol-action.git
synced 2024-09-20 03:55:56 +08:00
Remove 'master' references
This commit is contained in:
parent
433e05b83d
commit
83cad48cf3
|
@ -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:
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -4,7 +4,7 @@ name: deploy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dnscontrol:
|
dnscontrol:
|
Loading…
Reference in a new issue