Skip to content

chore(deps): bump astro from 5.18.1 to 6.1.6 (#173) #68

chore(deps): bump astro from 5.18.1 to 6.1.6 (#173)

chore(deps): bump astro from 5.18.1 to 6.1.6 (#173) #68

Workflow file for this run

name: Deploy to Internet Computer
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ic-deploy
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
checks:
uses: ./.github/workflows/_checks.yml
permissions:
contents: read
pull-requests: write
deploy:
needs: checks
runs-on: ubuntu-latest
environment: IC mainnet
permissions:
contents: read
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- name: Install icp-cli
run: npm i -g @icp-sdk/icp-cli @icp-sdk/ic-wasm
- name: Import deploy identity
run: |
mkdir -p ~/.local/share/icp-cli/identity/keys
echo $ICP_IDENTITY | base64 -d > ~/.local/share/icp-cli/identity/keys/deployer.pem
sed -i 's/\\r\\n/\r\n/g' ~/.local/share/icp-cli/identity/keys/deployer.pem
icp identity import deployer --from-pem ~/.local/share/icp-cli/identity/keys/deployer.pem --storage plaintext
icp identity default deployer
env:
ICP_IDENTITY: ${{ secrets.DFX_IDENTITY_DESIGN_TEAM }}
- name: Deploy to IC mainnet
run: icp deploy -e ic frontend