Skip to content

Commit

Permalink
squash
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Feb 11, 2024
1 parent d06aaa8 commit 41a29b2
Show file tree
Hide file tree
Showing 64 changed files with 23,252 additions and 774 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: deploy
on: [push]
env:
TESTNET_PRIV_KEY: ${{ secrets.TESTNET_PRIV_KEY }}
TESTNET_APP_PRIV_KEY: ${{ secrets.TESTNET_APP_PRIV_KEY }}
jobs:
contract:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- run: npm install -g near-cli
- run: mkdir -p ~/.near-credentials/testnet
- run: echo $TESTNET_APP_PRIV_KEY > ~/.near-credentials/testnet/app2.hashassine.testnet.json
- run: echo $TESTNET_PRIV_KEY > ~/.near-credentials/testnet/hashassine.testnet.json
- run: make contract/build
- run: make contract/deploy-testnet

frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: cd hashassine-frontend && npm ci
- run: make frontend/build
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: hashassine-frontend/dist/hashassine-frontend
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target
neardev
contract/target
contract/neardev
frontend/node_modules
Loading

0 comments on commit 41a29b2

Please sign in to comment.