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:
|
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 }}
|
||||||
|
|
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
|
- 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 }}
|
||||||
|
|
Loading…
Reference in a new issue