Skip to content

Commit

Permalink
add upload ipfs
Browse files Browse the repository at this point in the history
  • Loading branch information
warittornc committed Sep 26, 2024
1 parent 3c7aad0 commit f622767
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/aggregate_signals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
pip install pyyaml
- name: Aggregate Signals
run: python .github/scripts/merge_all.py ./signals .
run: python .github/scripts/merge_all.py ./signals ./registry

- name: Cache Rust-Script
uses: actions/cache@v4
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/upload_ipfs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Upload IPFS
on:
push:
branches:
- main

jobs:
upload-ipfs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aquiladev/ipfs-action@master
with:
path: ./signals
service: pinata
pinata_api_key: ${{ secrets.PINATA_API_KEY }}
pinata_secret_api_key: ${{ secrets.PINATA_SECRET_API_KEY }}
verbose: false

0 comments on commit f622767

Please sign in to comment.