.github/workflows/pages.yml: add more comments

This commit is contained in:
Alan Orth 2021-12-14 14:58:01 +02:00
parent 99be04a784
commit 2eeaa63cce
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -34,8 +34,11 @@ jobs:
commit_message: Automated commit with site updates commit_message: Automated commit with site updates
# Only commit if there are changes to the site. # Only commit if there are changes to the site.
file_pattern: site/* file_pattern: site/*
pages: pages:
runs-on: ubuntu-latest 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' }} if: ${{ github.ref_name == 'main' }}
# We need the parse job above. Do not run if that one fails. # We need the parse job above. Do not run if that one fails.
needs: parse needs: parse