diff --git a/.github/actions/build-docs/action.yml b/.github/actions/build-docs/action.yml index f61fce4..792abfd 100644 --- a/.github/actions/build-docs/action.yml +++ b/.github/actions/build-docs/action.yml @@ -4,6 +4,9 @@ inputs: asdf-system: description: 'ASDF system to build system for' required: true + # github-token: + # description: 'A token needed to push docs to GitHub' + # required: true qlfile-template: description: "Djula template for qlfile. All environment variables are available in it's context" required: false @@ -188,13 +191,11 @@ runs: - name: Upload Docs shell: bash run: | - set -x set -Eeuo pipefail - echo "TRACE 5" echo ::group::Upload Docs - echo "TRACE 6" - BUILD_DIR="${{ steps.build-docs.outputs.build-dir }}" - echo "TRACE 7" + ${{ github.action_path }}/upload.ros "${BUILD_DIR}" - echo "TRACE 8" echo ::endgroup:: + env: + BUILD_DIR: ${{ steps.build-docs.outputs.build-dir }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 432ddc9..2b03e80 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,5 +38,6 @@ jobs: - uses: 40ants/cl-info/.github/actions/build-docs@custom-action with: asdf-system: cl-info +# github-token: ${{ github.token }} NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} SSH_PASS: ${{ secrets.SSH_PASS }}