From 62479050f795e242add82e28faf43653cd2895d7 Mon Sep 17 00:00:00 2001 From: Trevor Blades Date: Tue, 22 Mar 2022 13:43:59 -0700 Subject: [PATCH] Create docs-publish.yml --- .github/workflows/docs-publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/docs-publish.yml diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml new file mode 100644 index 0000000000..b83bb3ca80 --- /dev/null +++ b/.github/workflows/docs-publish.yml @@ -0,0 +1,16 @@ +name: Deploy docs to production + +on: + push: + branches: + - main + - release/1.0 + paths: + - docs/** + +jobs: + publish: + uses: apollographql/docs/.github/workflows/publish.yml@main + secrets: + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}