mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Deploy docs only on "develop" and "master" branches
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -49,12 +49,12 @@ jobs:
|
|||||||
name: Deploy Docs
|
name: Deploy Docs
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master') }}
|
||||||
env:
|
env:
|
||||||
DOCS_REPO: platformio/platformio-docs
|
DOCS_REPO: platformio/platformio-docs
|
||||||
DOCS_DIR: platformio-docs
|
DOCS_DIR: platformio-docs
|
||||||
LATEST_DOCS_DIR: latest-docs
|
LATEST_DOCS_DIR: latest-docs
|
||||||
RELEASE_BUILD: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
RELEASE_BUILD: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
if: ${{ github.event_name == 'push' }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
Reference in New Issue
Block a user