Skip to content

Deployment

Carlo Beltrame edited this page Nov 13, 2023 · 7 revisions

We use branches that point to a commit which should be deployed. Currently we have the following branches, which point to environments:

Devel is automatically deployed every 30 minutes, if there has been any change on the devel branch. To deploy a new version to the staging or prod environments, we create a PR from devel to staging, or from staging to prod. After the checks ran through and the required approvals are given, we use the fast-forward.yml action by adding a comment with the content: '/fast-forward'.

For the fast-forward action to work, we need the repository secret FAST_FORWARD_TOKEN which contains a "Fine grained personal access token" which is attached to a person (currently @BacLuc).
This token can be revoked by the organization here: https://github.com/organizations/ecamp/settings/personal-access-tokens-onboarding
For this token we need to set an expiry date, the lifespan maximum is 1 year.
The current token will expire at 2023-10-28.
You can create such a token here: https://github.com/settings/tokens?type=beta, and the organization needs to approve the token then here: https://github.com/organizations/ecamp/settings/personal-access-tokens-onboarding.