diff --git a/.ci/scripts/publish_docs.sh b/.ci/scripts/publish_docs.sh deleted file mode 100755 index ad493f01..00000000 --- a/.ci/scripts/publish_docs.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# WARNING: DO NOT EDIT! -# -# This file was generated by plugin_template, and is managed by it. Please use -# './plugin-template --github pulpcore' to update this file. -# -# For more info visit https://github.com/pulp/plugin_template - -set -euv - -# make sure this script runs at the repo root -cd "$(dirname "$(realpath -e "$0")")"/../.. - -mkdir ~/.ssh -echo "$PULP_DOCS_KEY" > ~/.ssh/pulp-infra -chmod 600 ~/.ssh/pulp-infra - -echo "docs.pulpproject.org,8.43.85.236 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGXG+8vjSQvnAkq33i0XWgpSrbco3rRqNZr0SfVeiqFI7RN/VznwXMioDDhc+hQtgVhd6TYBOrV07IMcKj+FAzg=" >> /home/runner/.ssh/known_hosts -chmod 644 /home/runner/.ssh/known_hosts - -pip3 install -r pulp_oci_images/doc_requirements.txt - -eval "$(ssh-agent -s)" #start the ssh agent -ssh-add ~/.ssh/pulp-infra - -mkdocs build - -# publish to docs.pulpproject.org/pulp_oci_images -rsync -avzh site/ doc_builder_pulp_oci_images@docs.pulpproject.org:/var/www/docs.pulpproject.org/pulp_oci_images/ - -# publish to docs.pulpproject.org/pulp_oci_images/en/{release} -rsync -avzh site/ doc_builder_pulp_oci_images@docs.pulpproject.org:/var/www/docs.pulpproject.org/pulp_oci_images/en/"$1" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 4221daf8..00000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Nightly Docs - -on: - schedule: - - cron: '15 3 * * *' - workflow_dispatch: - -jobs: - publish-docs: - name: Publish docs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Run publish docs script - env: - PULP_DOCS_KEY: ${{ secrets.PULP_DOCS_KEY }} - run: .ci/scripts/publish_docs.sh ${GITHUB_REF##*/}