Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
flmel committed Sep 12, 2024
1 parent 738d34d commit 48f9c0f
Show file tree
Hide file tree
Showing 31 changed files with 4,760 additions and 6,867 deletions.
3,288 changes: 0 additions & 3,288 deletions factory_contract/Cargo.lock

This file was deleted.

28 changes: 0 additions & 28 deletions factory_contract/Cargo.toml

This file was deleted.

15 changes: 0 additions & 15 deletions factory_contract/README.MD

This file was deleted.

6 changes: 0 additions & 6 deletions factory_contract/build.sh

This file was deleted.

Binary file removed factory_contract/res/factory_contract.wasm
Binary file not shown.
Binary file removed factory_contract/src/ft.wasm
Binary file not shown.
198 changes: 0 additions & 198 deletions factory_contract/src/lib.rs

This file was deleted.

109 changes: 0 additions & 109 deletions factory_contract/tests/workspaces.rs

This file was deleted.

27 changes: 27 additions & 0 deletions faucet_contract/.github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to production
on:
push:
branches: [main]

jobs:
test:
uses: ./.github/workflows/test.yml

deploy-staging:
name: Deploy to production
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install cargo-near CLI
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.6.2/cargo-near-installer.sh | sh
- name: Deploy to production
run: |
cargo near deploy "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_ID }}" \
without-init-call \
network-config "${{ vars.NEAR_CONTRACT_PRODUCTION_NETWORK }}" \
sign-with-plaintext-private-key \
--signer-public-key "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_PUBLIC_KEY }}" \
--signer-private-key "${{ secrets.NEAR_CONTRACT_PRODUCTION_ACCOUNT_PRIVATE_KEY }}" \
send
Loading

0 comments on commit 48f9c0f

Please sign in to comment.