This operation will trigger GitHub Actions. In the PR page, click the merge button, which will merge it into master branch. Merge the PR and Wait for Actions Completed You can open the PR page be clicking the link in the success message.ĩ. It will create a PR in your repository when published successfully. Now we can open the plugin, fill in your new version and update message, then push it to GitHub. Fill in Version and Commit Message, Publish it update name, you can use scoped name, such as update version, 0.0.0 is perfect at begin.Īlso you can update description, repository, author to your own information.Don't push now, we'll be back later.īefore publishing, you need to update the package.json file. You should fill in the repository URL (it's your forked repository, not example repository) and GitHub token, then click go button. Open Figma, right click in canvas and select Plugins -> icon-automation. GH_TOKEN:GitHub token created in previous step( for gh-pages )。.NPM_AUTH_TOKEN: NPM token created in previous step.FIGMA_TOKEN: Figma token created in previous step.FIGMA_FILE_URL: The Figma file URL in the first step.The GitHub needs 4 secrets, which you can set in Settings -> Secrets page. Generate a new token and copy it to user later. NPM: Go to your NPM profile page, find tokens section.One thing to note is that You should check the repo scope. GitHub: Open GitHub token page and generate a new token and copy it to use later.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |