Setting github token.
This commit is contained in:
parent
8a7365c673
commit
52cea7e5ef
2 changed files with 8 additions and 6 deletions
13
.github/actions/build-docs/action.yml
vendored
13
.github/actions/build-docs/action.yml
vendored
|
@ -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 }}
|
||||
|
|
1
.github/workflows/docs.yml
vendored
1
.github/workflows/docs.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue