File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,35 @@ yarn global add @quobix/vacuum
35
35
36
36
## Install using curl
37
37
38
- ```
38
+ ``` bash
39
39
curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
40
40
```
41
41
42
+ ### For CI/CD environments
43
+
44
+ To avoid GitHub API rate limiting in automated environments, set a GitHub token:
45
+
46
+ ``` bash
47
+ # Using repository token (GitHub Actions)
48
+ GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN } } curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
49
+
50
+ # Using personal access token
51
+ GITHUB_TOKEN=your_github_token curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
52
+ ```
53
+
54
+ #### GitHub Actions example
55
+
56
+ ``` yaml
57
+ - name : Install vacuum
58
+ env :
59
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Increases rate limit from 60 to 5000 requests/hour
60
+ run : |
61
+ curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
62
+ ` ` `
63
+
64
+ > **Note**: The GitHub token prevents intermittent installation failures in CI/CD environments caused by API rate limiting.
65
+ > No additional permissions are required, the token only accesses public repository information.
66
+
42
67
## Install using [Docker](https://hub.docker.com/r/dshanley/vacuum)
43
68
44
69
The image is available at: https://hub.docker.com/r/dshanley/vacuum
You can’t perform that action at this time.
0 commit comments