Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ssh-agent requirement by using https to clone docs #347

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "npm run lint:configs && npx nx run-many --parallel=${NX_PARALLEL:-3} -t build",
"test": "npm run lint:configs && npx nx run-many --parallel=${NX_PARALLEL:-3} -t test",
"release:lib": "./wipe.sh && sh ./tools/scripts/bump-version.sh && npm run build && npm run lint && npm run test && read -p 'Enter OTP: ' otp && export NPM_CONFIG_OTP=$otp && npx nx release publish -g paima-sdk && npx nx release publish -g node-sdk",
"release:bin": "./wipe.sh && ./tools/scripts/ssh-check.sh && npm run lint:configs && npm run build && npx nx run-many --parallel=${NX_PARALLEL:-3} --projects=tag:type:binary -t release && mkdir -p ./bin && cp -r ./packages/engine/paima-standalone/packaged/@standalone/* ./bin"
"release:bin": "./wipe.sh && npm run lint:configs && npm run build && npx nx run-many --parallel=${NX_PARALLEL:-3} --projects=tag:type:binary -t release && mkdir -p ./bin && cp -rf ./packages/engine/paima-standalone/packaged/@standalone/* ./bin"
},
"devDependencies": {
"@eslint/eslintrc": "^2.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cp -r ../../batcher/batcher-standalone/packaged/@standalone/batcher-bin $BATCHER
# Fetch documentation
echo $DOC_PATH
rm -rf $DOC_PATH
git clone --depth=1 git@github.com:PaimaStudios/paima-engine-docs.git $DOC_PATH
git clone --depth=1 https://github.com/PaimaStudios/paima-engine-docs.git $DOC_PATH
# Remove everything except docs/home
find $DOC_PATH/* -not -path "$DOC_PATH/docs*" -delete
# Move the contents of docs/home to the root of $DOC_PATH
Expand All @@ -40,12 +40,12 @@ rm -rf $DOC_PATH/.git*

# Fetch templates
rm -rf $TEMPLATES_PATH
git clone --depth=1 git@github.com:PaimaStudios/paima-standalone-templates.git $TEMPLATES_PATH
git clone --depth=1 https://github.com/PaimaStudios/paima-standalone-templates.git $TEMPLATES_PATH
rm -rf $TEMPLATES_PATH/.git

# Add in swagger static UI
cp -r ../../../node_modules/swagger-ui-dist/ $SWAGGER_UI
rm $SWAGGER_UI/index.html # this will get overwriten at runtime by swagger-ui-express

# Copy CML wasm file
cp ../../../node_modules/@dcspark/cardano-multiplatform-lib-nodejs/cardano_multiplatform_lib_bg.wasm $PACKAGED_PATH
cp ../../../node_modules/@dcspark/cardano-multiplatform-lib-nodejs/cardano_multiplatform_lib_bg.wasm $PACKAGED_PATH
8 changes: 0 additions & 8 deletions tools/scripts/ssh-check.sh

This file was deleted.