Update action.yml
This commit is contained in:
parent
72a9c62af4
commit
dbf8182e81
1 changed files with 6 additions and 3 deletions
|
@ -7,7 +7,7 @@ inputs:
|
|||
gitea-token:
|
||||
description: 'Gitea token for downloading repositories'
|
||||
required: false
|
||||
default: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN }}
|
||||
# default: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN }} # Action can't read this as a default, so we've gotta do a check later
|
||||
garden-version:
|
||||
description: 'Version of Garden to deploy'
|
||||
required: false
|
||||
|
@ -29,8 +29,11 @@ runs:
|
|||
- name: Setup Enviornment Variables
|
||||
run: |
|
||||
echo CI_NAMESPACE=ci-$SHORT_COMMIT_SHA >> $GITHUB_ENV
|
||||
echo DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN=${{ inputs.gitea-token }} >> $GITHUB_ENV
|
||||
if [ ! -z "${{ inputs.gitea-token }}" -a "${{ inputs.gitea-token }}" != " " ]; then
|
||||
echo DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN=${{ inputs.gitea-token }} >> $GITHUB_ENV
|
||||
fi
|
||||
echo "GITEA TOKEN '${{ inputs.gitea-token }}'"
|
||||
echo "ENV_TOKEN $DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN"
|
||||
# Checkout Oasis
|
||||
- name: Checkout Oasis
|
||||
uses: actions/checkout@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue