From 5fa72f3f4d4fd921f61e056e4dadca0056189c78 Mon Sep 17 00:00:00 2001 From: Julien Deswaef Date: Thu, 16 Jan 2020 08:30:45 +0100 Subject: [PATCH] Moves Itch.io variables to Gitlab CI/CD settings panel --- .gitlab-ci.yml | 2 -- README.md | 16 ++++------------ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbb53be..9fd458a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,6 @@ stages: variables: EXPORT_NAME: game-off - ITCHIO_USERNAME: user - ITCHIO_GAME: game before_script: - mkdir -v -p build/linux diff --git a/README.md b/README.md index e53e97f..3dffba3 100644 --- a/README.md +++ b/README.md @@ -38,18 +38,10 @@ Others variables are set automatically by the `gitlab-runner`, see the documenta ### Itch.io Deployment to Itch.io is done via [Butler](https://itch.io/docs/butler/). -You will need to set 2 variables in your `.gitlab-ci.yml` file and one in the Gitlab CI/CD settings panel for it to work. - -In the `.gitlab-ci.yml`, edit: +You will need to set variables in the Gitlab CI/CD settings panel for it to work. |Variable|Description|Example| |-|-|-| -| $ITCHIO_USERNAME | Your username on Itch.io, as in your personal page will be at https://.itch.io |`username` -| $ITCHIO_GAME | the name of your game on Itchio, as in your game will be available at https://.itch.io/ |`game` - -You also need to set your API key in the CI/CD settings of Gitlab. -Get first an API key from https://itch.io/user/settings/api-keys - -|Variable|Description|Example| -|-|-|-| -| $BUTLER_API_KEY | Necessary so that Gitlab-ci can authenticate in Itch.io on your behalf. Make that API key `Masked` to keep it secret |`aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` +| $ITCHIO_USERNAME | Your username on Itch.io, as in your personal page will be at `https://.itch.io` |`username` +| $ITCHIO_GAME | the name of your game on Itchio, as in your game will be available at `https://.itch.io/` |`game` +| $BUTLER_API_KEY | An [Itch.io API key](https://itch.io/user/settings/api-keys) is necessary for Butler so that Gitlab-ci can authenticate on Itch.io on your behalf. **Make that API key `Masked` to keep it secret** |`aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa`