Skip to content

Commit bca903d

Browse files
Merge pull request #4 from labscommunity/fix/update-readme
fix: Use correct npm package in readme
2 parents 3ab9d13 + b8ac27f commit bca903d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: .changeset/eight-wombats-breathe.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@protocol.land/sync-github': patch
3+
---
4+
5+
fix: Update correct npm package in readme

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Checkout Repository
5454
uses: actions/checkout@v3
5555
- name: Sync repo to GitHub
56-
run: npx protocol-land-sync-github
56+
run: npx @protocol.land/sync-github
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN || secrets.GITHUB_TOKEN }}
5959
WALLET: ${{ secrets.WALLET }}
@@ -76,7 +76,7 @@ Goto repository settings on Protocol Land. Then configure the following:
7676
7777
- **Switch**: Click the switch to enable GitHub sync. You can disable it whenever GitHub Sync is not required. You can still use the `Trigger Sync` button for manual trigger of GitHub sync workflow.
7878
- **Repository**: Write your Github repository name with username. For example, `labscommunity/protocol-land`.
79-
- **Branch**: Select the branch that contains the GitHub workflow file.
79+
- **Branch**: Write the branch name that contains the GitHub workflow file. For example, `master`.
8080
- **Workflow name**: Write your workflow file name. For example, `protocol-land-github-sync.yml`.
8181
- **Personal Access Token (PAT)**: You'll also need a Personal Access Token (PAT) from GitHub with the appropriate permissions to trigger the GitHub workflow. This PAT is securely stored and encrypted with your wallet. To create PAT, goto [Fine-grained tokens](https://github.com/settings/tokens?type=beta) to create a PAT. Set a token name, expiration, repository access `(All repositories or Only select repositories (Recommended))` and permissions `(Repository permissions -> Actions -> Read and write)`.
8282

0 commit comments

Comments
 (0)