From 52cea7e5ef3ae80dada9476e5dca25fc3a5d615c Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Sun, 7 Feb 2021 00:21:24 +0300 Subject: [PATCH] Setting github token. --- .github/actions/build-docs/action.yml | 13 +++++++------ .github/workflows/docs.yml | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) 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 }}