Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-ic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- run: npm run build

- name: Install icp-cli
run: npm i -g @icp-sdk/icp-cli@0.2.7 @icp-sdk/ic-wasm
run: npm i -g @icp-sdk/icp-cli@1.2.0 @icp-sdk/ic-wasm

- name: Import deploy identity
run: |
Expand All @@ -50,4 +50,4 @@ jobs:
ICP_IDENTITY: ${{ secrets.DFX_IDENTITY_DESIGN_TEAM }}

- name: Deploy to IC mainnet
run: icp deploy -e ic frontend
run: ICP_CLI_PLUGIN_COMPUTE_LIMIT_SECS=120 icp deploy -e ic frontend
4 changes: 2 additions & 2 deletions .github/workflows/preview-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
python-version: "3.10"

- name: Install icp-cli
run: npm i -g @icp-sdk/icp-cli@0.2.7 @icp-sdk/ic-wasm
run: npm i -g @icp-sdk/icp-cli@1.2.0 @icp-sdk/ic-wasm

- run: npm ci

Expand All @@ -64,7 +64,7 @@ jobs:
echo "PREVIEW_CANISTER_ID=$canister_id" >> $GITHUB_ENV

# Deploy (icp.yaml recipe handles the build)
icp deploy frontend -e ic --mode reinstall
ICP_CLI_PLUGIN_COMPUTE_LIMIT_SECS=120 icp deploy frontend -e ic --mode reinstall

env:
POOL_CONTROLLER_IDENTITY: ${{ secrets.POOL_CONTROLLER_IDENTITY }}
Expand Down
24 changes: 7 additions & 17 deletions icp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,10 @@ networks:

canisters:
- name: frontend
build:
steps:
- type: pre-built
url: https://github.com/dfinity/certified-assets/releases/download/snapshot-pr69-7571cba/canister.wasm
sha256: aaacb5c927deb57ebd1ec1108b22693b7622b2317ebf6f859f07b7b689aecf5b

sync:
steps:
- type: script
commands:
- npm install
- npm run build
- type: plugin
url: https://github.com/dfinity/certified-assets/releases/download/snapshot-pr69-7571cba/plugin.wasm
sha256: ee9a000ea6f3023f2996b4e9f7d2514298fe2c8fbd9e52e1c6fdf29536fa3628
dirs:
- dist
recipe:
type: "@dfinity/static-site@v0.3.1"
configuration:
build:
- npm install
- npm run build
dir: dist
Loading