-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from NEARBuilders/feat/feed
Adds a feed tab for various post types
- Loading branch information
Showing
54 changed files
with
42,429 additions
and
2,917 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
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: ${{ vars.BOS_DEPLOY_ACCOUNT_ID }} | ||
BOS_SIGNER_ACCOUNT_ID: ${{ vars.BOS_SIGNER_ACCOUNT_ID }} | ||
BOS_SIGNER_PUBLIC_KEY: ${{ vars.BOS_SIGNER_PUBLIC_KEY }} | ||
BOS_SIGNER_PRIVATE_KEY: ${{ secrets.BOS_SIGNER_PRIVATE_KEY }} | ||
NETWORK_ID: mainnet | ||
|
||
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: Install bos-workspace from dev branch | ||
run: | | ||
npm install git+https://github.com/nearbuilders/bos-workspace.git#main | ||
- name: Build the workspaces | ||
run: | | ||
npm run bosworkspace build | ||
- name: Deploy widgets | ||
working-directory: ./build/homepage | ||
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 | ||
jobs: | ||
deploy-mainnet: | ||
uses: nearbuilders/bos-workspace/.github/workflows/deploy.yml@main | ||
with: | ||
deploy-env: "mainnet" | ||
app-name: "builddao" | ||
deploy-account-address: ${{ vars.BOS_SIGNER_ACCOUNT_ID }} | ||
signer-account-address: ${{ vars.BOS_SIGNER_ACCOUNT_ID }} | ||
signer-public-key: ${{ vars.BOS_SIGNER_PUBLIC_KEY }} | ||
secrets: | ||
SIGNER_PRIVATE_KEY: ${{ secrets.BOS_SIGNER_PRIVATE_KEY }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
name: Deploy Components to Testnet | ||
|
||
on: | ||
push: | ||
branches: [feature/testnet-deploy] | ||
jobs: | ||
deploy-widgets: | ||
runs-on: ubuntu-latest | ||
name: Deploy widgets to social.near (testnet) | ||
env: | ||
BOS_DEPLOY_ACCOUNT_ID: ${{ vars.TESTNET_DEPLOY_ACCOUNT_ID }} | ||
BOS_SIGNER_ACCOUNT_ID: ${{ vars.TESTNET_SIGNER_ACCOUNT_ID }} | ||
BOS_SIGNER_PUBLIC_KEY: ${{ vars.TESTNET_SIGNER_PUBLIC_KEY }} | ||
BOS_SIGNER_PRIVATE_KEY: ${{ secrets.TESTNET_SIGNER_PRIVATE_KEY }} | ||
NETWORK_ID: testnet | ||
|
||
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 | ||
branches: [develop] | ||
|
||
- name: Install bos-workspace from dev branch | ||
run: | | ||
npm install https://github.com/NEARBuilders/bos-workspace.git#dev | ||
- name: Build the workspaces | ||
run: | | ||
npm run bosworkspace build | ||
- name: Deploy widgets | ||
working-directory: ./build/canvas | ||
run: | | ||
bos components deploy "$BOS_DEPLOY_ACCOUNT_ID" sign-as "$BOS_SIGNER_ACCOUNT_ID" network-config testnet sign-with-plaintext-private-key --signer-public-key "$BOS_SIGNER_PUBLIC_KEY" --signer-private-key "$BOS_SIGNER_PRIVATE_KEY" send | ||
jobs: | ||
deploy-testnet: | ||
uses: nearbuilders/bos-workspace/.github/workflows/deploy.yml@main | ||
with: | ||
deploy-env: "testnet" | ||
app-name: "builddao" | ||
deploy-account-address: ${{ vars.BOS_TESTNET_SIGNER_ACCOUNT_ID }} | ||
signer-account-address: ${{ vars.BOS_TESTNET_SIGNER_ACCOUNT_ID }} | ||
signer-public-key: ${{ vars.BOS_TESTNET_SIGNER_PUBLIC_KEY }} | ||
secrets: | ||
SIGNER_PRIVATE_KEY: ${{ secrets.BOS_TESTNET_SIGNER_PRIVATE_KEY }} |
File renamed without changes.
Oops, something went wrong.