Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/theos/orion
Browse files Browse the repository at this point in the history
  • Loading branch information
kabiroberai committed Sep 3, 2021
2 parents 0a967c4 + e00d254 commit e37259f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Update Docs

on:
workflow_dispatch:
push:
tags:
- '*'
Expand All @@ -20,7 +21,8 @@ jobs:
- name: Update docs
run: |
cd master-branch
version="${GITHUB_REF#refs/tags/}"
git fetch --prune --unshallow --tags
version="$(git describe --abbrev=0 --tags)"
for v in `sort -rV <(printf '%s\n%s' "${version}" "$(ls ../docs-branch/versions)")`; do
base="$(basename "${v}")"
Expand All @@ -32,6 +34,7 @@ jobs:
cd ../docs-branch
mkdir -p versions
[[ -e "versions/${version}" ]] && rm -rf "versions/${version}"
mv ../docs-perm "versions/${version}"
mv versions .git ../docs
cd ../docs
Expand Down

0 comments on commit e37259f

Please # to comment.