From 2eeaa63ccec1fdc5e807e8f3239d059cd2e645ff Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 14 Dec 2021 14:58:01 +0200 Subject: [PATCH] .github/workflows/pages.yml: add more comments --- .github/workflows/pages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index ebee67d3..17882433 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -34,8 +34,11 @@ jobs: commit_message: Automated commit with site updates # Only commit if there are changes to the site. file_pattern: site/* + pages: runs-on: ubuntu-latest + # Only run if we are on the main branch. We don't want to update the site + # with content from other branches. if: ${{ github.ref_name == 'main' }} # We need the parse job above. Do not run if that one fails. needs: parse