-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90906fd
commit 2a5e1c1
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` | ||
|
||
|