Sean Hammond
07d964ff9b
Don't use upload-pages-artifact
...
In upload-pages-artifact@v4 the maintainers have made the curious
decision to omit hidden files (files whose names begin with ".") from
the site that gets deployed to GitHub Pages and to provide no way to
include a hidden file (at least "for now"), even though static sites may
of course want to include files whose names begin with "."
https://github.com/actions/upload-pages-artifact/pull/102
Work around this in by creating the "artifact" (tar file) ourselves and
uploading it using the upload-artifact action, as suggested in the
upload-pages-artifact PR linked above.
2025-10-04 12:08:36 +01:00
Justin Mayer
ff4460c3d7
Limit Dependabot scope to GitHub Actions only
...
Sometimes we intentionally pin specific package versions -- such as for
Pygments, Jinja2, and Markdown -- and thus automated Dependabot PRs for
those packages are spurious and unwanted.
2025-07-01 09:31:01 +02:00
Hugo van Kemenade
714a3d53a1
Drop support for EOL Python 3.8
2024-12-21 15:53:13 +02:00
Hugo van Kemenade
7d4adfce3f
Add support for Python 3.13
2024-12-21 15:45:35 +02:00
Noel Miller
0da2530d9b
De-couple build workflow from GitHub Pages publication ( #3404 )
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
2024-10-22 09:59:19 -07:00
Justin Mayer
b02abf0220
Improve GitHub issue templates
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
2024-10-04 15:06:11 +02:00
Justin Mayer
f5dc4d4b96
Disable blank GitHub issues
...
Existing issue template categories should cover most any case.
2024-10-04 15:04:13 +02:00
Justin Mayer
36ebe91af7
Rename default branch to main
2024-06-25 11:33:28 +02:00
Justin Mayer
05535c7d6c
Docs: GitHub Pages workflow is now supported
2024-06-17 22:19:21 +02:00
dependabot[bot]
617aba077f
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:14:49 +02:00
dependabot[bot]
487877f206
Bump actions/deploy-pages from 2 to 4
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 2 to 4.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:14:31 +02:00
dependabot[bot]
750a1f8bfa
Bump actions/configure-pages from 3 to 5
...
Bumps [actions/configure-pages](https://github.com/actions/configure-pages ) from 3 to 5.
- [Release notes](https://github.com/actions/configure-pages/releases )
- [Commits](https://github.com/actions/configure-pages/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/configure-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:14:18 +02:00
dependabot[bot]
d03ae2a41f
Bump actions/upload-pages-artifact from 2 to 3
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:13:54 +02:00
Justin Mayer
b17182ece1
Merge pull request #3330 from seanh/gha-theme-support
2024-06-17 20:43:09 +02:00
Justin Mayer
50f77b42b2
Add CODEOWNERS file to project
2024-06-17 20:36:18 +02:00
Sean Hammond
e46595cdac
Add theme, Python version, siteurl and feed_domain to GitHub Pages deployment workflow
...
Add theme, Python version, siteurl and feed_domain support to the
reusable GitHub Actions workflow for deploying a Pelican site to GitHub
Pages:
1. Add a new `theme` option to the workflow that callers can use to
specify an external theme to be checked out and used
2. Add a new `python` option to the workflow that callers can use to
specify the Python version, in case they need to build their site
with a particular version of Python
3. Pass `--extra-settings FEED_DOMAIN='"${{ steps.pages.outputs.base_url }}"'`
to the `pelican` command to set the value of Pelican's `FEED_DOMAIN`
setting for feed URLs.
4. Add a `feed_domain` input to the workflow so that users can override
the feed domain if they need to.
5. Add a `siteurl` input to the workflow so that users can override the
site URL if they need to.
6. Add a note to the docs about GitHub Pages generating http:// URLs for
https:// sites, and how to fix it
7. Some light editing of the docs for the workflow
2024-06-17 13:57:10 +01:00
Sean Hammond
dc40474e29
Use Dependabot to keep GitHub Actions up to date
...
Configure Dependabot to send automated PRs to update the version numbers
in `.github/workflows/*.yml` when new versions of actions are released.
See:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2024-06-17 12:39:07 +01:00
boxydog
8c7c29e4f2
Add dependabot checking ( #5 )
2024-06-02 14:03:56 -05:00
Justin Mayer
e4d7f0a9d9
Docs: GitHub Pages workflow not officially supported
2024-05-29 07:29:33 +02:00
Justin Mayer
fabc409277
Update more GitHub Actions to resolve warnings
2024-03-12 12:18:11 +01:00
Justin Mayer
7454138184
Update setup-python & setup-pdm GitHub Actions
2024-03-12 12:07:53 +01:00
Paolo Melchiorre
61eacffa90
Update tox and GitHub pipeline
2023-11-28 21:38:26 +01:00
Vivek Bharadwaj
d9b2bc3a4e
Add GH pages action to fix file permissions ( #3248 )
2023-11-19 10:48:13 +01:00
Justin Mayer
a20cd8dda5
Merge pull request #3231 from getpelican/enforce-code-style
2023-10-30 19:49:58 +01:00
Lioman
4e438ffe60
Enable tests to validate dist build contents ( #3229 )
2023-10-30 16:04:44 +01:00
boxydog
805ca9b4a9
Run pre-commit on all files during CI test job
2023-10-29 22:21:04 +01:00
Chris Rose
8ea27b82f6
Bump all of the dev dependencies
...
- remove upper version caps
- updated the minimum version of most of Pelican's runtime deps
- replaced black with ruff as a formatter for pelican
- added a cache step to the docs CI task so that the docs can be
downloaded and inspected.
2023-10-29 22:11:28 +01:00
Justin Mayer
a23a4e14cf
Merge pull request #3189 from seanh/publish-to-ghp-using-gha
2023-10-29 18:29:52 +01:00
Deniz Turgut
6f1605edf9
Extend GHA documentation to specify requirements file
2023-10-29 18:30:25 +03:00
Lioman
8a0f335e2b
only install dev dependencies during lint step
2023-10-29 15:23:14 +01:00
Lioman
8b6d215934
migrate configuration to PEP621 compatible config
...
- adapt documentation
- add wheel tests to check wheel contents.
- adapt pipeline to use pdm
- adapt autopub config
- add scripts as shortcuts to invoke tasks
2023-10-29 11:59:58 +01:00
Justin Mayer
84795c701c
Merge pull request #3222 from offbyone/test-on-macos
2023-10-28 23:26:24 +02:00
Chris Rose
33d6712e8b
Don't install pelican's dependencies to lint
2023-10-28 11:18:24 -07:00
Chris Rose
29b10ef6e6
Use poetry directly in lints
2023-10-28 11:05:15 -07:00
Chris Rose
19c797af5e
Add support to verify windows, too
2023-10-28 10:55:01 -07:00
Chris Rose
f342dc3097
Add macOS testing for 3.11/3.12
2023-10-28 08:00:27 -07:00
Lioman
58e70082e0
Remove python 3.7 build configuration
2023-10-28 11:05:29 +02:00
Justin Mayer
8fd5d6f51b
Fix IRC server in new GitHub issue template
2023-10-28 09:55:16 +02:00
Lioman
5c36cfbb9b
Only run 'Deploy' action on main repository
...
Deploy action will always fail on forks as the token is not there.
2023-10-04 10:58:18 +02:00
Lioman
de0fae8182
Add python 3.12 to test matrix
2023-10-03 16:59:57 +02:00
Sean Hammond
29185e4ad7
Add GitHub Actions workflow for GitHub Pages
...
Add a GitHub Actions workflow that users can use to publish their
Pelican sites to GitHub Pages by running `pelican` on GitHub Actions,
without having to run `pelican` locally and push the output directory to
a branch.
See: https://github.com/getpelican/pelican/discussions/3174
2023-09-03 15:15:39 +01:00
Justin Mayer
410f60d6b3
Publish package via PyPI trusted publisher system
2023-06-23 15:54:39 +02:00
Deniz Turgut
6ddbc83f43
add python 3.11 to CI and use setup-python pip cache
2022-10-26 23:50:36 +03:00
Deniz Turgut
6d11c6f2e5
use python 3.9 for lint, docs and deploy actions
...
3.7 is old and will soon be EOLed
this also fixes flake8 + importlib-metadata issues
2022-10-20 04:17:11 +03:00
Deniz Turgut
9d509253c3
update github actions
...
see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-20 04:09:48 +03:00
Lioman
5103aa9a38
Remove python 3.6 from supported language versions
2022-08-23 13:07:19 +02:00
Justin Mayer
1b87ef6a7b
Add funding link
2021-11-15 15:39:10 -06:00
Justin Mayer
0da8659d0e
Add Python 3.10 to test matrix & classifier list
2021-10-06 10:12:34 +02:00
Justin Mayer
30597b70f0
Quote version numbers in GitHub Actions workflow
...
Otherwise, YAML treats `python: 3.10` as a float, yielding Python 3.1.
2021-10-06 10:12:34 +02:00
Justin Mayer
c461def10a
Update to v2 of cache GitHub Action
2021-04-21 09:57:08 +02:00