Skip to content

Commit

Permalink
fix(ci): force reset origin
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Jul 27, 2023
1 parent 559cb0a commit c0dc209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ jobs:

- name: 'Setup git coordinates'
run: |
git remote set-url origin https://${{secrets.GH_USER}}:${{secrets.GH_TOKEN}}@github.com/uport-project/taksi.git
git remote rm origin
git remote add origin origin https://${{secrets.GH_USER}}:${{secrets.GH_TOKEN}}@github.com/uport-project/taksi.git
git remote -v
git fetch
# git remote set-url origin https://${{secrets.GH_USER}}:${{secrets.GH_TOKEN}}@github.com/uport-project/taksi.git
git config user.name $GH_USER
git config user.email $GH_EMAIL

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:browser": "echo \"no browser tests yet, otherwise would run something like: cd packages/test-react-app && pnpm test:browser\"",
"prettier": "prettier --write \"{packages,docs,__tests__,!build}/**/*.{ts,js,json,md,yml}\"",
"build-clean": "rimraf --glob ./packages/*/build ./packages/*/api ./packages/*/node_modules ./packages/*/tsconfig.tsbuildinfo ./temp ./tmp && jest --clearCache",
"publish:latest": "lerna publish --conventional-commits --include-merged-tags --create-release github --no-verify-access --yes --dist-tag latest --registry \"https://registry.npmjs.org/:_authToken=${NPM_TOKEN}\"",
"publish:latest": "lerna publish --conventional-commits --include-merged-tags --create-release github --yes --dist-tag latest --registry \"https://registry.npmjs.org/:_authToken=${NPM_TOKEN}\"",
"publish:next": "lerna publish --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid next --pre-dist-tag next --yes --registry \"https://registry.npmjs.org/:_authToken=${NPM_TOKEN}\"",
"publish:unstable": "lerna publish --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid unstable --pre-dist-tag unstable --yes --registry \"https://registry.npmjs.org/:_authToken=${NPM_TOKEN}\"",
"docs": "pnpm docs:copy && pnpm docs:build",
Expand Down

0 comments on commit c0dc209

Please sign in to comment.