Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 13, 2024
1 parent 5f75296 commit c31173d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .drevops/docs/.utils/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ push_to_remote() {
# Directory with files to push to remote.
local src_dir="${1:-}"

echo "Pushing ${src_dir} to remote."

configure_ssh

# Temp directory to use for the local repo.
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/drevops-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
run: |
cd .drevops/docs
ahoy build
ahoy lint
ahoy test
# ahoy lint
# ahoy test
- name: Setup SSH private key
uses: webfactory/[email protected]
Expand All @@ -44,6 +44,7 @@ jobs:
- name: Publish docs
run: |
cd .drevops/docs
export DREVOPS_DEBUG=1
export DOCS_PUBLISH_REMOTE_URL=https://github.com/drevops/drevops_docs.git
export DOCS_PUBLISH_SRC_TAG=${{ github.ref_type == 'tag' && github.ref_name || '' }}
export DOCS_PUBLISH_SRC_BRANCH=${{ github.ref_type == 'branch' && github.ref_name || '' }}
Expand Down

0 comments on commit c31173d

Please sign in to comment.