name: DocsReleaseChecks env: # Force the stdout and stderr streams to be unbuffered PYTHONUNBUFFERED: 1 concurrency: group: master-release cancel-in-progress: true on: # yamllint disable-line rule:truthy push: branches: - master paths: - 'docs/**' - 'website/**' - 'benchmark/**' - 'docker/**' - '.github/**' workflow_dispatch: jobs: DockerHubPush: runs-on: [self-hosted, style-checker] steps: - name: Clear repository run: | sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE - name: Check out repository code uses: actions/checkout@v2 - name: Images check run: | cd $GITHUB_WORKSPACE/tests/ci python3 docker_images_check.py - name: Upload images files to artifacts uses: actions/upload-artifact@v2 with: name: changed_images path: ${{ runner.temp }}/docker_images_check/changed_images.json DocsRelease: needs: DockerHubPush runs-on: [self-hosted, func-tester] steps: - name: Set envs # https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#multiline-strings run: | cat >> "$GITHUB_ENV" << 'EOF' TEMP_PATH=${{runner.temp}}/docs_release REPO_COPY=${{runner.temp}}/docs_release/ClickHouse CLOUDFLARE_TOKEN=${{secrets.CLOUDFLARE}} ROBOT_CLICKHOUSE_SSH_KEY<