Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Mensa-Hong-Kong/New-Official-Website-abandoned-2

Repository files navigation

Dev Ops

Requirements

  • Python3, look at /ansible/.python-version
  • Ansible, install dependencies from /ansible/requirements.txt
  • Ansible Galaxy, install dependencies from /ansible/requirements.yml

Rollback

If you have committed code to main and need to rollback, you can follow these guidelines.

Please note that we are not trying to remove any commits. We will revert the commit and that change will be saved in our history. This keeps the git timeline always moving forward.

  1. Switch to the main branch and make sure it is up to date with git pull
  2. Create a new branch git checkout -b revert-IT-###
  3. Find the commit hash you want to revert
  4. Revert the commit, git revert ${the-hash-you-want-to-revert}
  5. Commit the changes and push the reverted branch to GitHub
  6. Have someone approve the PR and merge it to main
  7. GitHub actions will deploy the reverted code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published