diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c52b25ba2e..29b993db17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,3 +77,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages FOLDER: public + - name: Sync gateways.csv to airtable + run: make gateways.csv && curl -X POST ${AIRTABLE_GATEWAYS_API_ENDPOINT} -H "Authorization: Bearer ${AIRTABLE_GATEWAYS_API_KEY}" -H "Content-Type: text/csv" --data-binary "@gateways.csv" \ No newline at end of file diff --git a/Makefile b/Makefile index 0ddcdc4d4b..ba32855a48 100644 --- a/Makefile +++ b/Makefile @@ -92,3 +92,6 @@ endif .PHONY: init init: deps + +gateways.csv: + go run frontmatter.go