diff options
author | Matan Kushner <hello@matchai.dev> | 2021-02-16 17:41:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 17:41:21 -0500 |
commit | 3bc3173de8be4c801bc1b56ced5e731bdbeeb0a1 (patch) | |
tree | 9dd41abde453286933001602ce6268eaf781f29f /.github | |
parent | 153690b8e2f0b7850bcac368b3e2a9e9d32e6916 (diff) |
ci(docs): only publish site on release (#2322)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f86648a24..5a67e84a6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,6 +33,20 @@ jobs: env: COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} + publish_docs: + name: Publish docs to Netlify + runs-on: ubuntu-latest + + steps: + - name: Setup | Checkout + uses: actions/checkout@master + + - name: Publish + uses: netlify/actions/build@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + # Build sources for every OS github_build: name: Build release binaries |