Skip to content

Commit 9cac640

Browse files
committed
doc: Add gateway sync to release actions
1 parent ac0c3db commit 9cac640

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,5 @@ jobs:
7777
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7878
BRANCH: gh-pages
7979
FOLDER: public
80+
- name: Sync gateways.csv to airtable
81+
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"

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,6 @@ endif
9292

9393
.PHONY: init
9494
init: deps
95+
96+
gateways.csv:
97+
go run frontmatter.go

0 commit comments

Comments
 (0)