remove team_members from register args #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Components to Mainnet | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy-widgets: | |
runs-on: ubuntu-latest | |
name: Deploy widgets to social.near (mainnet) | |
env: | |
BOS_DEPLOY_ACCOUNT_ID: potlock.near | |
BOS_SIGNER_ACCOUNT_ID: potlock.near | |
BOS_SIGNER_PUBLIC_KEY: ed25519:3iWoL6haUT3FGd9KJjwpAS8fLqk7hAdyBX8trD3vSh6C | |
BOS_SIGNER_PRIVATE_KEY: ${{ secrets.SIGNER_PRIVATE_KEY }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install near-social CLI | |
run: | | |
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/FroVolod/bos-cli-rs/releases/download/v0.3.1/bos-cli-v0.3.1-installer.sh | sh | |
- name: List directories | |
run: ls -al | |
- name: List contents of build directory | |
run: ls -al build | |
- name: Check current directory | |
run: | | |
pwd | |
ls -al | |
- name: Deploy widgets | |
working-directory: ./build/potlock | |
run: | | |
bos components deploy "$BOS_DEPLOY_ACCOUNT_ID" sign-as "$BOS_SIGNER_ACCOUNT_ID" network-config mainnet sign-with-plaintext-private-key --signer-public-key "$BOS_SIGNER_PUBLIC_KEY" --signer-private-key "$BOS_SIGNER_PRIVATE_KEY" send |