Skip to content

0.1.0

0.1.0 #5

Workflow file for this run

name: Push on IPFS
on:
push:
branches:
- release/**
tags:
- '*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install and Build
run: |
npm ci
npm run build
touch dist/spa/.nojekyll
- uses: actions/upload-artifact@v4
with:
name: aleph-swap
path: dist/spa/
overwrite: true
- uses: actions/download-artifact@v4
with:
name: aleph-swap
path: out/
- name: Push on IPFS
run: |
find .
pip install 'aioipfs>=0.6.2'
python3 ./scripts/push_on_ipfs.py
export IPFS_CID=$(python3 ./scripts/push_on_ipfs.py)
echo $IPFS_CID
echo "CID: $IPFS_CID" >> $GITHUB_STEP_SUMMARY