From 38bb9866b6ea71f16ace6bc0e0aa08f9fc707f09 Mon Sep 17 00:00:00 2001 From: Marcel Kuhmann Date: Wed, 14 Feb 2024 22:36:47 +0100 Subject: [PATCH] rename default branch `master` to `main` (#49) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e514c025c..a7960cba7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,12 +3,12 @@ name: CI on: push: branches: - - master + - main pull_request: branches: - - master + - main schedule: - - cron: "0 0 * * *" + - cron: "43 2 * * *" jobs: build: @@ -45,12 +45,12 @@ jobs: - name: Deploy to Github Pages uses: peaceiris/actions-gh-pages@v3 - if: success() && github.ref == 'refs/heads/master' + if: success() && github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages publish_dir: ./output - name: Trigger page build - if: success() && github.ref == 'refs/heads/master' + if: success() && github.ref == 'refs/heads/main' run: "curl 'https://api.github.com/repos/FriendsOfREDAXO/phpdoc/pages/builds' -X POST -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' -H 'Accept: application/vnd.github.mister-fantastic-preview'"