mirror of
https://github.com/catppuccin/gleam.git
synced 2026-01-09 05:40:58 +08:00
ci(release): set perms (#3)
* ci(release): set perms * docs: update ci/cd release workflow section
This commit is contained in:
parent
68add75ec3
commit
9de62c73e2
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
push:
|
||||
tags: ["v*"]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
10
README.md
10
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user