Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ovesh committed Apr 14, 2024
1 parent ed80cfc commit 1848422
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:
set -x
micromamba activate ~/micromamba/envs/build/envs/doc-build
make html -C docs-src
pkg_name=$(eval ls -1 ~/conda-bld/*/*.tar.bz2 | head -1)
pkg_version=$(echo $pkg_name | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
set +x
- name: push to gh-pages branch
Expand All @@ -77,10 +75,12 @@ jobs:
pkg_name=$(eval ls -1 ~/conda-bld/*/*.tar.bz2 | head -1)
pkg_name=$(basename ${pkg_name})
pkg_version=$(echo $pkg_name | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
echo "pkg_version: ${pkg_version}"
git fetch origin
git checkout gh-pages
find docs-src/_build
cp -r docs-src/_build/html/* docs/
mkdir -p docs/${pkg_version}/
cp -r docs-src/_build/html/* docs/${GK_VERSION}/
git diff
git status
set +x

0 comments on commit 1848422

Please sign in to comment.