Bit GitHub Action Examples for Git CI/CD Pipelines
Example GitHub Actions for common Bit and Git CI/CD workflows.
Setup Guide
- You need to place them inside
.github/workflows/ directory at the root of your GitHub repository.
- If your workspace is not at the root of the Git repository, specify the input parameter
ws-dir in the task bit-tasks/init@v3.
- Create new secret variables (
BIT_CONFIG_ACCESS_TOKEN), GIT_USER_NAME and GIT_USER_EMAIL and use them as environment variables in your GitHub Action.
- Define
GITHUB_TOKEN also as an environment variable. Here, GITHUB_TOKEN secret is automatically created by GitHub Actions.
Automating Component Release
⬇️ Download Files
Update Workspace Components, External Dependencies and Envs
⬇️ Download Files
Sync Git Branches with Bit Lanes
⬇️ Download Files
Contributor Guide
To create zip files use the below commands.
chmod +x zip_files.sh
bash ./zip_files.sh