Skip to content

Commit

Permalink
Fix publish workflow: package is public
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Oct 28, 2021
2 parents 65007dc + 4215d09 commit 55397d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [created]

jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -18,6 +18,6 @@ jobs:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can either load the `@depay/widgets` package via CDN:

```
<script src="https://integrate.depay.fi/widgets/v2.js"></script>
<script src="https://integrate.depay.fi/widgets/v3.js"></script>
```

or you install `@depay/widgets` via the package manager of your choice and ship it as part of your application bundle:
Expand Down Expand Up @@ -58,7 +58,7 @@ In order to receive decentralized payments on any blockchain you need to have yo
### Quick start

```
<script src="https://depay.fi/integrate/widgets/v2.js"/>
<script src="https://integrate.depay.fi/widgets/v3.js"/>
```

```
Expand Down Expand Up @@ -507,7 +507,7 @@ In order to sell tokens in a decentralized way, that token needs to have a liqui
### Quick start

```
<script src="https://depay.fi/integrate/widgets/v2.js"/>
<script src="https://integrate.depay.fi/widgets/v3.js"/>
```

```javascript
Expand Down Expand Up @@ -869,7 +869,7 @@ In order to receive decentralized donation payments on any blockchain you need t
### Quick start
```
<script src="https://depay.fi/integrate/widgets/v2.js"/>
<script src="https://integrate.depay.fi/widgets/v3.js"/>
```
```javascript
Expand Down Expand Up @@ -1231,7 +1231,7 @@ DePay Connect allows you to have your users connect their crypto wallet to your
Returns connected `account`, `accounts` and `wallet` in return.
```
<script src="https://depay.fi/integrate/widgets/v2.js"/>
<script src="https://integrate.depay.fi/widgets/v3.js"/>
```
```javascript
Expand Down

0 comments on commit 55397d3

Please sign in to comment.