From 94b98c223f6c187662f4561954d98f9312089cfa Mon Sep 17 00:00:00 2001 From: Marcel Kuhmann Date: Wed, 14 Feb 2024 22:34:49 +0100 Subject: [PATCH 1/2] rename `master` to `main` --- .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..d32b8ff6d 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'" From 76609f1883ab8e32d0cbcfb339770e029ba3f4bd Mon Sep 17 00:00:00 2001 From: Marcel Kuhmann Date: Wed, 14 Feb 2024 22:35:50 +0100 Subject: [PATCH 2/2] trigger actions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d32b8ff6d..a7960cba7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: branches: - main schedule: - - cron: "43 2 * * *" + - cron: "43 2 * * *" jobs: build: