Skip to content

Commit

Permalink
github(workflows): fix warning message in stable docs
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Oct 7, 2024
1 parent e089fe1 commit 80e9f20
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ jobs:
allow_empty_commit: true
force_orphan: false
keep_files: true

- name: Deploy to "stable" directory if TAG matches ref_name
if: ${{ inputs.TAG == github.ref_name }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
destination_dir: stable
allow_empty_commit: true
force_orphan: false
keep_files: true
11 changes: 0 additions & 11 deletions .github/workflows/release_docs.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/stable_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
build:
uses: ./.github/workflows/build_docs.yaml
with:
TAG: "stable"
TAG: ${{ github.ref_name }}

0 comments on commit 80e9f20

Please sign in to comment.