Skip to content

Commit

Permalink
adds editor deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 14, 2024
1 parent 9bd2759 commit 931fc3d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release-editor-mainnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Components to Mainnet
on:
push:
paths:
- "apps/editor/**"
branches: [main]
jobs:
deploy-mainnet:
uses: NEARBuilders/bos-workspace/.github/workflows/deploy.yml@main
with:
deploy-env: "mainnet"
app-name: "editor"
deploy-account-address: devs.near
signer-account-address: devs.near
signer-public-key: ${{ vars.DEVS_SIGNER_PUBLIC_KEY }}
secrets:
SIGNER_PRIVATE_KEY: ${{ secrets.DEVS_SIGNER_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion apps/editor/bos.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"appAccount": "editor.near"
"appAccount": "devs.near"
}
2 changes: 1 addition & 1 deletion apps/editor/widget/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const socialDbAdapter = {
},
};

const [selectedItem, setSelectedItem] = useState(null);
const [selectedItem, setSelectedItem] = useState("efiz.near/thing/routes");
const [adapter, setAdapter] = useState(socialDbAdapter);

function handleTypeChange(value) {
Expand Down

0 comments on commit 931fc3d

Please sign in to comment.