Commenting out docs publishing
This commit is contained in:
parent
e9b9d50a79
commit
502d25101c
1 changed files with 21 additions and 21 deletions
42
.github/workflows/publish_docs.yml
vendored
42
.github/workflows/publish_docs.yml
vendored
|
|
@ -17,24 +17,24 @@ jobs:
|
|||
- name: Build Website
|
||||
run: |
|
||||
docker run -v ${PWD}/sources:/hugo/content/docs/amixr --rm grafana/docs-base:latest /bin/bash -c 'make hugo'
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: git clone --single-branch --no-tags --depth 1 -b master https://grafanabot:${{ secrets.GH_BOT_ACCESS_TOKEN }}@github.com/grafana/website-sync ./.github/actions/website-sync
|
||||
- name: publish-to-git
|
||||
uses: ./.github/actions/website-sync
|
||||
id: publish
|
||||
with:
|
||||
repository: grafana/website
|
||||
branch: master
|
||||
host: github.com
|
||||
github_pat: '${{ secrets.GH_BOT_ACCESS_TOKEN }}'
|
||||
source_folder: docs/sources
|
||||
target_folder: content/docs/amixr/v0.0.39
|
||||
- shell: bash
|
||||
run: |
|
||||
test -n "${{ steps.publish.outputs.commit_hash }}"
|
||||
test -n "${{ steps.publish.outputs.working_directory }}"
|
||||
# sync:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: test
|
||||
# if: github.ref == 'refs/heads/main'
|
||||
# steps:
|
||||
# - uses: actions/checkout@v1
|
||||
# - run: git clone --single-branch --no-tags --depth 1 -b master https://grafanabot:${{ secrets.GH_BOT_ACCESS_TOKEN }}@github.com/grafana/website-sync ./.github/actions/website-sync
|
||||
# - name: publish-to-git
|
||||
# uses: ./.github/actions/website-sync
|
||||
# id: publish
|
||||
# with:
|
||||
# repository: grafana/website
|
||||
# branch: master
|
||||
# host: github.com
|
||||
# github_pat: '${{ secrets.GH_BOT_ACCESS_TOKEN }}'
|
||||
# source_folder: docs/sources
|
||||
# target_folder: content/docs/amixr/v0.0.39
|
||||
# - shell: bash
|
||||
# run: |
|
||||
# test -n "${{ steps.publish.outputs.commit_hash }}"
|
||||
# test -n "${{ steps.publish.outputs.working_directory }}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue