1
Workflow requirements
Stefano Pigozzi edited this page 2025-12-13 04:10:56 +01:00
Table of Contents
Workflows requirements
-
Build and push container image via docker buildx
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
vars.FORGEJO_DOMAIN_NAMEto the current Forgejo's instance domain name (forge.steffo.eu) - Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
vars.CONTAINER_IMAGE_NAMEto the tag of the image to build (rookframe)
-
Deploy page on a host directory
- Make sure the Actions Forgejo unit is enabled for the repository
-
Release using Poetry a new version of the Python package and deploy docs on a host directory
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.TEST_PYPI_TOKENto a Test PyPI Access Token - Set
secrets.PYPI_TOKENto a PyPI Access Token
-
Test with Pytest the Python package using Poetry
- Make sure the Actions Forgejo unit is enabled for the repository
- Set
vars.PYTHON_PACKAGEto the name of the Python package you want to test
-
Test with Cargo the Rust crate
- Make sure the Actions Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.CRATESIO_TOKENto a Crates.io API token
-
Release using Cargo a new version of the Rust crates in the workspace
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.CRATESIO_TOKENto a Crates.io API token
-
Build and publish VSCode extension
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.VSMARKETPLACE_TOKENto a VS Marketplace Access Token (TODO: docs once Microsoft fixes my account) - Set
secrets.OPENVSX_TOKENto a Open VSX Personal Access Token