Skip to content

Commit

Permalink
Fix deploy (#57)
Browse files Browse the repository at this point in the history
* adds configure command

* install near-cli-rs

* try a direct configure

* try a direct configure

* fix path

* see paths

* see paths

* see paths

* see paths

* cleanup

* sets all of mainnet config

* sets all of mainnet config

* show contents

* cd

* cd .config

* cd near-cli-rs

* touch

* show configure

* cat near-cli

* set config

* mkdir

* fix parse error

* view config

* fix string

* add deploy

* removes need to install near-cli
  • Loading branch information
elliotBraem authored Feb 22, 2024
1 parent ccec101 commit b3c5353
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,11 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/FroVolod/bos-cli-rs/releases/download/v${{ inputs.cli-version }}/bos-cli-installer.sh | sh
- name: Install near-cli-rs
run: |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh
- name: Configure non-archival RPC endpoint
run: |
which near
echo "rpc_url = 'https://rpc.mainnet.near.org/'" > ~/.config/near-cli-rs/config.toml
mkdir -p ~/.config/near-cli
touch ~/.config/near-cli/config.toml
echo -e "credentials_home_dir = \"/home/runner/.near-credentials\"\n[network_connection.mainnet]\nnetwork_name = \"mainnet\"\nrpc_url = \"https://rpc.mainnet.near.org/\"\nwallet_url = \"https://app.mynearwallet.com/\"\nexplorer_transaction_url = \"https://nearblocks.io/txns/\"" > ~/.config/near-cli/config.toml
- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit b3c5353

Please sign in to comment.