added custom token for asset repo
This commit is contained in:
parent
1e4e46186d
commit
b106de1ab8
12
action.yml
12
action.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user