Skip to content

Commit

Permalink
create automated releases readme
Browse files Browse the repository at this point in the history
  • Loading branch information
macintoshhelper committed Aug 21, 2024
1 parent 90906fd commit 2a5e1c1
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions developer-knowledgebase/automated-releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Automated Releases

For automated releases, `figcd` is used. https://github.com/opral/parrot-figcd

## Instructions

Make sure that app-based MFA/TOTP is enabled for Figma, as it is necessary for publishing plugin releases.

**Creating a Figma authentication token locally**

```sh
npx figcd auth
```

> Enter your Figma email
> Enter your Figma password
> Enter your Figma TOTP token
**Copy and paste the Terminal output**

Example:

```sh
FIGMA_WEB_AUTHN_TOKEN=%7B%2figtkn.123.authn.456%22%7D
```

**Configure the secret on GitHub**

> Repo Settings > Security > Secrets and Variables > Actions > Environment secrets
```sh
FIGMA_WEB_AUTHN_TOKEN
```

### Release Command

```sh
npx figcd release
```


0 comments on commit 2a5e1c1

Please sign in to comment.