diff --git a/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-production.yml b/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-production.yml index f892d532..c3f31aa2 100644 --- a/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-production.yml +++ b/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-production.yml @@ -18,7 +18,7 @@ jobs: run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-vcargo-near-new-ci-tool-version-self/cargo-near-installer.sh | sh - name: Deploy to production run: | - cargo near deploy "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_ID }}" \ + cargo near deploy build-reproducible-wasm "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_ID }}" \ without-init-call \ network-config "${{ vars.NEAR_CONTRACT_PRODUCTION_NETWORK }}" \ sign-with-plaintext-private-key \ diff --git a/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-staging.yml b/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-staging.yml index 0f75164a..62c781bf 100644 --- a/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-staging.yml +++ b/cargo-near/src/commands/new/new-project-template/.github/workflows/deploy-staging.yml @@ -41,7 +41,7 @@ jobs: # # WASM reproducibility check akin to SourceScan won't be available for staging contracts, deployed from PRs run: | - cargo near deploy --skip-git-remote-check "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \ + cargo near deploy build-reproducible-wasm --skip-git-remote-check "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \ without-init-call \ network-config "${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}" \ sign-with-plaintext-private-key \ diff --git a/cargo-near/src/commands/new/new-project-template/README.md b/cargo-near/src/commands/new/new-project-template/README.md index 3843c83f..82648b96 100644 --- a/cargo-near/src/commands/new/new-project-template/README.md +++ b/cargo-near/src/commands/new/new-project-template/README.md @@ -22,7 +22,7 @@ Deployment is automated with GitHub Actions CI/CD pipeline. To deploy manually, install [`cargo-near`](https://github.com/near/cargo-near) and run: ```bash -cargo near deploy +cargo near deploy build-reproducible-wasm ``` ## Useful Links