diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 655350f..73ca3ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: push: tags: ["v*"] +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 1095487..33b2eb7 100644 --- a/README.md +++ b/README.md @@ -87,15 +87,9 @@ The project under `codegen` directory is used to generate the library based on t mv -iv out/catppuccin.gleam ../src/ ``` -## 🏗️ Setting Up CI/CD Release Workflow +## 🏗️ CI/CD Release Workflow -1. Create GitHub Secrets: - - Navigate to the repository's **Settings** > **Secrets** > **Actions**. - - Under **Repository secrets** create `HEX_USERNAME` and `HEX_PASSWORD` with your hex username and password respectively. - -2. Granting Actions Permissions - - Navigate to the repository's **Settings** > **Actions** > **General**. - - Under **Workflow permissions**, select **Read and write permissions**, then click **Save**. +Set the `HEX_DEPLOY_KEY` token in the repository secrets (**Settings** > **Secrets** > **Actions**). ## 💝 Thanks to