diff --git a/docs/tips.rst b/docs/tips.rst index 5d75e4fb..338dbe1f 100644 --- a/docs/tips.rst +++ b/docs/tips.rst @@ -152,6 +152,25 @@ Pelican-powered sites can be published to GitHub Pages via a `custom workflow with: settings: "publishconf.py" + You may want to replace the ``@master`` with the ID of a specific commit in + this repo in order to pin the version of the reusable workflow that you're using: + ``uses: getpelican/pelican/.github/workflows/github_pages.yml@``. + If you do this you might want to get Dependabot to send you automated pull + requests to update that commit ID whenever new versions of this workflow are + published, like so: + + .. code-block:: yaml + + # .github/dependabot.yml + version: 2 + updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + + See `GitHub's docs about using Dependabot to keep your actions up to date `_. + 3. Go to the **Actions** tab in your repo (``https://github.com///actions``) and you should see a **Deploy to GitHub Pages** action running.