:octocat: rename default branch to "main"

This commit is contained in:
codemasher
2020-06-14 15:46:02 +02:00
parent 2cecb32cf6
commit 99f38dc465
4 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
on:
push:
branches:
- master
- main
name: "Docs"
@@ -14,7 +14,7 @@ jobs:
steps:
- name: "Checkout sources"
uses: actions/checkout@master
uses: actions/checkout@v2
with:
fetch-depth: 1
@@ -22,7 +22,7 @@ jobs:
uses: ./.github/actions/build-docs
- name: "Publish Docs to gh-pages"
uses: maxheld83/ghpages@master
uses: maxheld83/ghpages@v0.3.0
env:
BUILD_DIR: docs/
GH_PAT: ${{ secrets.GH_PAT }}
+2 -2
View File
@@ -1,12 +1,12 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
# https://github.com/localheinz/php-library-template/blob/master/.github/workflows/continuous-integration.yml
# https://github.com/ergebnis/php-library-template
# https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml
on:
pull_request:
push:
branches:
- master
- main
tags:
- "**"