Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmer Bulthuis committed Nov 7, 2023
1 parent 655659b commit 229eae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/publish-goodrouter-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ on:
tags:
- goodrouter-ts@*.*.*

defaults:
run:
working-directory: goodrouter-ts

jobs:
publish-npm:
runs-on: ubuntu-latest
Expand All @@ -17,8 +13,8 @@ jobs:
- uses: actions/checkout@v3
- run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc
- run: npm ci
- run: npm version ${GITHUB_REF_NAME:14}
- run: npm publish
- run: npm version --workspace ${GITHUB_REF_NAME:13} ${GITHUB_REF_NAME:14}
- run: npm publish --workspace ${GITHUB_REF_NAME:13}

publish-cloudflare:
runs-on: ubuntu-latest
Expand All @@ -29,9 +25,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run docs
- run: npm run --workspace ${GITHUB_REF_NAME:13} docs
- run: >
npx wrangler pages publish ./docs
npx wrangler pages publish ${GITHUB_REF_NAME:13}/docs
--commit-dirty=true
--project-name $(basename $PWD)
--branch main
2 changes: 1 addition & 1 deletion goodrouter-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"repository": {
"type": "git",
"url": "git@github.com:LuvDaSun/goodrouter.git"
"url": "git+ssh://git@github.com/LuvDaSun/goodrouter.git"
},
"author": "LuvDaSun Software B.V.",
"license": "ISC",
Expand Down

0 comments on commit 229eae0

Please sign in to comment.