Skip to content

Commit

Permalink
only deploy app
Browse files Browse the repository at this point in the history
bos component deploy did not work.. use near-cli-rs instead
  • Loading branch information
petersalomonsen committed Jul 21, 2024
1 parent 49905d0 commit 2dca2a0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy-prod-mainnet-devhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ jobs:
#bos components delete devhub.near selected components.admin.ModeratorsConfigurator,components.rfps.CommentsAndLogs,components.rfps.WarningModal,components.rfps.ViewRfpModal,components.rfps.Rfp,components.rfps.Feed,components.rfps.StatusTag,components.rfps.ConfirmCancelModal,components.rfps.StageDropdown,components.rfps.TimelineConfigurator,components.rfps.Editor,components.molecule.RadioButton,components.molecule.DropDown,components.molecule.LinkedRfps,components.molecule.LinkedProposals,components.molecule.LikeButton,components.molecule.ComposeComment,components.molecule.FilterByLabel,components.molecule.LinkedRfpDropdown,components.molecule.Markdown sign-as devhub.near network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
# only try deploying a few components
# rm widget/app.jsx
# rm -Rf widget/core
# rm -Rf widget/devhub
#rm widget/app.jsx
rm -Rf widget/core
rm -Rf widget/devhub
rm -Rf widget/DevGov
#bos components delete devhub.near selected components.molecule.LinkedProposalsDropdown,components.molecule.NavbarDropdown,components.molecule.SimpleMDE,components.molecule.Compose,components.molecule.DropDownWithSearch,components.molecule.MultiSelectCategoryDropdown,components.molecule.AccountInput,components.pages.about,components.pages.admin,components.proposals.Proposal,components.proposals.ViewProposalModal,components.proposals.CommentsAndLogs,components.proposals.Feed,components.proposals.Editor sign-as devhub.near network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
bos components deploy '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' sign-as '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
#node create-components.mjs
#near contract call-function as-transaction social.near set file-args components.json prepaid-gas '300.0 Tgas' attached-deposit '0 NEAR' sign-as devhub.near network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
#bos components deploy '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' sign-as '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
node create-components.mjs
near contract call-function as-transaction social.near set file-args components.json prepaid-gas '300.0 Tgas' attached-deposit '0 NEAR' sign-as devhub.near network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
else
bos components deploy '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' sign-as '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
fi

0 comments on commit 2dca2a0

Please sign in to comment.