mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-26 03:27:30 +00:00
ci(docs): only publish site on release (#2322)
This commit is contained in:
parent
153690b8e2
commit
3bc3173de8
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@ -33,6 +33,20 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
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
|
# Build sources for every OS
|
||||||
github_build:
|
github_build:
|
||||||
name: Build release binaries
|
name: Build release binaries
|
||||||
|
Loading…
Reference in New Issue
Block a user