Skip to content

Commit

Permalink
fix: remove target from dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiss committed Jan 6, 2024
1 parent 1cbf05c commit 3776108
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 37 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ packages
contracts
aws
skip_examples
target
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ArkProject contracts CI
name: ArkProject contracts ci

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bump version
name: ArkProject github release
on:
push:
branches:
Expand All @@ -12,4 +12,4 @@ jobs:
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ArkProject crate CI
name: ArkProject rs CI

on:
push:
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/deploy-solis-stack.yml

This file was deleted.

File renamed without changes.
65 changes: 65 additions & 0 deletions .github/workflows/solis-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Solis Deploy CDK Stack

on:
workflow_dispatch:

jobs:
build:
name: Buils contracts
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: 2.3.1
- name: Build contracts
run: cd contracts && scarb build -w
deploy:
name: Deploy Solis orderbook contract on goerli
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: pnpm install
- name: Deploy Solis orderbook contract
env:
STARKNET_NODE_URL_GOERLI: ${{ secrets.STARKNET_NODE_URL_GOERLI }}
SOLIS_NODE_URL_GOERLI: ${{ secrets.SOLIS_NODE_URL_GOERLI }}
STARKNET_ADMIN_ADDRESS_GOERLI: ${{ secrets.STARKNET_ADMIN_ADDRESS_GOERLI }}
STARKNET_ADMIN_PRIVATE_KEY_GOERLI: ${{ secrets.STARKNET_ADMIN_PRIVATE_KEY_GOERLI }}
STARKNET_ADMIN_PUBLIC_KEY_GOERLI: ${{ secrets.STARKNET_ADMIN_PUBLIC_KEY_GOERLI }}
STARKNET_SOLIS_ACCOUNT_ADDRESS_GOERLI: ${{ secrets.STARKNET_SOLIS_ACCOUNT_ADDRESS_GOERLI }}
STARKNET_SOLIS_ACCOUNT_PRIVATE_KEY_GOERLI: ${{ secrets.STARKNET_SOLIS_ACCOUNT_PRIVATE_KEY_GOERLI }}
STARKNET_SOLIS_ACCOUNT_PUBLIC_KEY_GOERLI: ${{ secrets.STARKNET_SOLIS_ACCOUNT_PUBLIC_KEY_GOERLI }}
SOLIS_ADMIN_ADDRESS_DEV: ${{ secrets.SOLIS_ADMIN_ADDRESS_DEV }}
SOLIS_ADMIN_PRIVATE_KEY_DEV: ${{ secrets.SOLIS_ADMIN_PRIVATE_KEY_DEV }}
SOLIS_ADMIN_PUBLIC_KEY_DEV: ${{ secrets.SOLIS_ADMIN_PUBLIC_KEY_DEV }}
# deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2

# - name: Set up Node.js
# uses: actions/setup-node@v2
# with:
# node-version: "14"

# - name: Change to CDK directory
# run: cd aws/cdk-solis-ecs

# - name: Install dependencies
# run: npm install

# - name: Deploy or update Starknet contracts

# - name: Deploy CDK Stack Goerli
# env:
# RPC_URL: ${{ secrets.RPC_URL_GOERLI }}
# MESSAGING_ADDRESS: ${{ secrets.MESSAGING_ADDRESS_GOERLI }}
# SENDER_ADDRESS: ${{ secrets.SENDER_ADDRESS_GOERLI }}
# PRIVATE_KEY: ${{ secrets.PRIVATE_KEY_GOERLI }}
# run: npx cdk deploy --all --require-approval never

0 comments on commit 3776108

Please sign in to comment.