mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add Dependabot to GitHub Actions workflow docs
This commit is contained in:
parent
e46595cdac
commit
135c61f769
1 changed files with 19 additions and 0 deletions
|
|
@ -152,6 +152,25 @@ Pelican-powered sites can be published to GitHub Pages via a `custom workflow
|
||||||
with:
|
with:
|
||||||
settings: "publishconf.py"
|
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@<COMMIT_ID>``.
|
||||||
|
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 <https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot>`_.
|
||||||
|
|
||||||
3. Go to the **Actions** tab in your repo
|
3. Go to the **Actions** tab in your repo
|
||||||
(``https://github.com/<username>/<repository>/actions``) and you should see a
|
(``https://github.com/<username>/<repository>/actions``) and you should see a
|
||||||
**Deploy to GitHub Pages** action running.
|
**Deploy to GitHub Pages** action running.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue