Setting github token.

This commit is contained in:
Alexander Artemenko 2021-02-07 00:21:24 +03:00
parent 8a7365c673
commit 52cea7e5ef
2 changed files with 8 additions and 6 deletions

View file

@ -4,6 +4,9 @@ inputs:
asdf-system: asdf-system:
description: 'ASDF system to build system for' description: 'ASDF system to build system for'
required: true required: true
# github-token:
# description: 'A token needed to push docs to GitHub'
# required: true
qlfile-template: qlfile-template:
description: "Djula template for qlfile. All environment variables are available in it's context" description: "Djula template for qlfile. All environment variables are available in it's context"
required: false required: false
@ -188,13 +191,11 @@ runs:
- name: Upload Docs - name: Upload Docs
shell: bash shell: bash
run: | run: |
set -x
set -Eeuo pipefail set -Eeuo pipefail
echo "TRACE 5"
echo ::group::Upload Docs 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}" ${{ github.action_path }}/upload.ros "${BUILD_DIR}"
echo "TRACE 8"
echo ::endgroup:: echo ::endgroup::
env:
BUILD_DIR: ${{ steps.build-docs.outputs.build-dir }}
GITHUB_TOKEN: ${{ github.token }}

View file

@ -38,5 +38,6 @@ jobs:
- uses: 40ants/cl-info/.github/actions/build-docs@custom-action - uses: 40ants/cl-info/.github/actions/build-docs@custom-action
with: with:
asdf-system: cl-info asdf-system: cl-info
# github-token: ${{ github.token }}
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
SSH_PASS: ${{ secrets.SSH_PASS }} SSH_PASS: ${{ secrets.SSH_PASS }}