added custom token for asset repo

This commit is contained in:
Lu Baumann 2023-10-18 13:40:52 +00:00 committed by GitHub
parent 1e4e46186d
commit b106de1ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,11 +6,14 @@ inputs:
required: false required: false
default: 'false' default: 'false'
asset-repo: asset-repo:
description: Repository to store svg assets in description: Repository to store svg assets in
required: ture required: ture
asset-repo-branch: asset-repo-branch:
description: The branch to store the svg assets in description: The branch to store the svg assets in
required: true required: true
asset-repo-token:
descriptioin: Github token to access the asset repo when pulling and pushing
required: true
runs: runs:
using: composite using: composite
steps: steps:
@ -20,6 +23,7 @@ runs:
repository: "${{ inputs.asset-repo }}" repository: "${{ inputs.asset-repo }}"
ref: "${{ inputs.asset-repo-branch }}" ref: "${{ inputs.asset-repo-branch }}"
path: svg-repo path: svg-repo
token: "${{ inputs.asset-repo-token }}"
- run: mkdir -p svg-repo/svg-assets - run: mkdir -p svg-repo/svg-assets
shell: bash shell: bash
- name: Start containers - name: Start containers