Skip to content

Commit

Permalink
test workflow 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-afegbua committed Feb 20, 2024
1 parent e6c3712 commit 8b49fc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/weekly-snapsots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: ibnesayeed/setup-ipfs@master
id: ipfs_setup

- name: Build Snapshot
- name: Generate networks file
run: ./scripts/getSFMetadata.sh

- name: Build Snapshot
Expand Down
3 changes: 2 additions & 1 deletion scripts/getSFMetadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
input_json_url="https://raw.githubusercontent.com/superfluid-finance/protocol-monorepo/dev/packages/metadata/networks.json"

# Variables
common_domain="${COMMON_DOMAIN}"
#TODO: Move variable to github secret
common_domain="${COMMON_DOMAIN:-'.rpc.superfluid.dev'}"

# Download the input JSON file
wget -O input.json "$input_json_url"
Expand Down
2 changes: 1 addition & 1 deletion scripts/manageSnapshots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -xe

#Variables
filename="networks"
ipfs_api="${IPFS_API:-"/ip4/65.21.152.182/tcp/5001"}"
ipfs_api="${IPFS_API:-'/ip4/65.21.152.182/tcp/5001'}"

generate_snapshot() {
echo "Generating new snapshots..."
Expand Down

0 comments on commit 8b49fc9

Please sign in to comment.