From d6170f30651b56f13bd7d33862edf1479d093a11 Mon Sep 17 00:00:00 2001 From: Nemo Date: Thu, 19 May 2022 17:29:37 +0530 Subject: [PATCH] Manual trigger --- .github/workflows/update.yml | 1 + Makefile | 2 +- src/fetch.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 526d0ac..3b6a591 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,5 +1,6 @@ name: Update Data on: + workflow_dispatch: push: schedule: # 18:07 UTC every day diff --git a/Makefile b/Makefile index 4322cbb..127e29b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ check: # Build Process ISIN: INE INF IN9 IN0 IN1 IN2 IN3 IN4 - cat header.csv IN*.csv > ISIN.csv + cat src/header.csv IN*.csv > ISIN.csv rm IN*.csv INE INF IN9 IN0 IN1 IN2 IN3 IN4: diff --git a/src/fetch.sh b/src/fetch.sh index 145072d..03ca42e 100755 --- a/src/fetch.sh +++ b/src/fetch.sh @@ -6,7 +6,7 @@ if ! command -v pup &> /dev/null then wget --quiet https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip -O pup.zip echo "ec3d29e9fb375b87ac492c8b546ad6be84b0c0b49dab7ff4c6b582eac71ba01c pup.zip" | sha256sum --strict --check - unzip pup.zip + unzip -o pup.zip rm pup.zip chmod +x ./pup export PUP_BINARY="$(pwd)/pup"