diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9224a701..bafc8040 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,9 @@ name: Dev CI/CD on: push: branches: - - '*' + - 'master' + pull_request: + types: [opened] jobs: build: diff --git a/scripts/getSFMetadata.sh b/scripts/getSFMetadata.sh index 3a0a4150..d4f55ee6 100755 --- a/scripts/getSFMetadata.sh +++ b/scripts/getSFMetadata.sh @@ -6,7 +6,7 @@ input_json_url="https://raw.githubusercontent.com/superfluid-finance/protocol-mo # Variables #TODO: Move variable to github secret -common_domain="${COMMON_DOMAIN:-'.rpc.superfluid.dev'}" +common_domain="${COMMON_DOMAIN:-.rpc.superfluid.dev}" # Download the input JSON file wget -O input.json "$input_json_url" diff --git a/scripts/manageSnapshots.sh b/scripts/manageSnapshots.sh index 1497d340..07ee9340 100755 --- a/scripts/manageSnapshots.sh +++ b/scripts/manageSnapshots.sh @@ -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..."