Skip to content

Commit c27733e

Browse files
committed
remove gitlab related ci stuff entirely
1 parent c020077 commit c27733e

4 files changed

Lines changed: 9 additions & 140 deletions

File tree

.gitlab-ci.yml

Lines changed: 0 additions & 131 deletions
This file was deleted.

docs/login.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Logging in from a remote server looks like this:
2929
* Copy the address of that page
3030
* Paste it into the terminal where `butler login` is running, and press enter.
3131

32-
## Running butler from CI builds (Travis CI, Gitlab CI etc.)
32+
## Running butler from CI builds (GitHub Actions, GitLab CI, etc.)
3333

3434
If you're using butler to push builds from a continuous integration environment such
35-
as [Travis CI](https://travis-ci.org/), [Gitlab CI](https://about.gitlab.com/gitlab-ci/), or
36-
[Jenkins](https://jenkins.io/), the easiest way to go is:
35+
as [GitHub Actions](https://github.com/features/actions) or
36+
[GitLab CI](https://docs.gitlab.com/ci/), the easiest way to go is:
3737

3838
* Go through the `butler login` flow locally
3939
* In your CI configuration, set the environment variable `BUTLER_API_KEY`

release/book.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ async function main() {
2424
$(`gitbook build`);
2525
});
2626

27-
if (process.env.CI_COMMIT_REF_NAME) {
28-
$(`gsutil -m cp -r -a public-read docs/_book/* gs://docs.itch.zone/butler/${process.env.CI_COMMIT_REF_NAME}/`);
27+
if (process.env.GITHUB_REF_NAME) {
28+
$(`gsutil -m cp -r -a public-read docs/_book/* gs://docs.itch.zone/butler/${process.env.GITHUB_REF_NAME}/`);
2929
} else {
30-
console.warn("Skipping uploading book, no CI_COMMIT_REF_NAME environment variable set")
30+
console.warn("Skipping uploading book, no GITHUB_REF_NAME environment variable set")
3131
}
3232
}
3333

release/generous.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ async function main() {
1111
$(`go get -v -x ./butlerd/generous`);
1212
$(`generous godocs`);
1313

14-
if (process.env.CI_COMMIT_REF_NAME) {
15-
$(`gsutil -m cp -r -a public-read ./butlerd/generous/docs/* gs://docs.itch.zone/butlerd/${process.env.CI_COMMIT_REF_NAME}/`);
14+
if (process.env.GITHUB_REF_NAME) {
15+
$(`gsutil -m cp -r -a public-read ./butlerd/generous/docs/* gs://docs.itch.zone/butlerd/${process.env.GITHUB_REF_NAME}/`);
1616
} else {
17-
console.warn("Skipping uploading generous docs, no CI_COMMIT_REF_NAME environment variable set")
17+
console.warn("Skipping uploading generous docs, no GITHUB_REF_NAME environment variable set")
1818
}
1919
}
2020

0 commit comments

Comments
 (0)