diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c35aaa18..16c076ae7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,8 +192,8 @@ jobs: ./firezone*.deb publish-docs: - needs: publish - if: startsWith(github.ref, 'refs/tags/') + # needs: publish + # if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -204,7 +204,7 @@ jobs: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Write tags manifest run: | - tags=`git ls-tree --name-only origin/gh-pages | egrep "\d+\.\d+\.\d+"` + tags=`git ls-tree --name-only origin/gh-pages | egrep "^((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)$"` echo $tags > docs/assets/versions.txt - name: Build jekyll site run: |