mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:47:32 +00:00
chore(docs): only deploy on master branch (#718)
This commit is contained in:
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
@@ -3,7 +3,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'site/**'
|
- 'site/**'
|
||||||
- 'docs/**'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -31,10 +30,7 @@ jobs:
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
needs: builddocs
|
needs: builddocs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# defaults:
|
if: github.ref == 'refs/heads/master'
|
||||||
# run:
|
|
||||||
# working-directory: ./site
|
|
||||||
# if: github.ref == 'refs/heads/master'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
Reference in New Issue
Block a user