[CHORE] Adjust Actions
This commit is contained in:
parent
8723efbe94
commit
f862dba1f2
1 changed files with 23 additions and 22 deletions
23
action.yml
23
action.yml
|
@ -1,25 +1,25 @@
|
|||
name: "Oasis Config Action"
|
||||
description: "Configure env for deploying apps using Oasis"
|
||||
name: 'Oasis Config Action'
|
||||
description: 'Configure env for deploying apps using Oasis'
|
||||
inputs:
|
||||
kubeconfig:
|
||||
description: "A base64 encoded string of the kubeconfig to use. Required!"
|
||||
description: 'A base64 encoded string of the kubeconfig to use. Required!'
|
||||
required: true
|
||||
forgejo-token:
|
||||
description: "Forgejo token for downloading repositories"
|
||||
description: 'Forgejo token for downloading repositories'
|
||||
required: false
|
||||
default: ${{ env.DEVOPS_FORGEJO_ELYSIUM_ORG_READ_TOKEN }} # Action can't read env, so we need to reset it later
|
||||
garden-version:
|
||||
description: "Version of Garden to deploy"
|
||||
description: 'Version of Garden to deploy'
|
||||
required: false
|
||||
default: 0.13.29
|
||||
oasis-branch:
|
||||
description: "Branch of Oasis to use"
|
||||
description: 'Branch of Oasis to use'
|
||||
required: false
|
||||
default: master
|
||||
oasis-workspace:
|
||||
descipriont: "Workspace to setup Oasis"
|
||||
descipriont: 'Workspace to setup Oasis'
|
||||
required: false
|
||||
default: oasis
|
||||
default: ${{ forgejo.workspace }}/oasis
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
@ -30,6 +30,10 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
echo CI_NAMESPACE=ci-$SHORT_COMMIT_SHA >> $GITHUB_ENV
|
||||
echo "YEP"
|
||||
echo $DEVOPS_FORGEJO_ELYSIUM_ORG_READ_TOKEN
|
||||
echo ${{ inputs.forgejo-token }}
|
||||
echo "HAVAHAHNANNANA"
|
||||
echo DEVOPS_FORGEJO_ELYSIUM_ORG_READ_TOKEN=${{ inputs.forgejo-token }} >> $GITHUB_ENV
|
||||
echo "Checking out Oasis"
|
||||
# Checkout Oasis
|
||||
|
@ -73,8 +77,5 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
# Export environment variables
|
||||
echo "OASIS_WORKSPACE=${{ inputs.oasis-workspace }}"
|
||||
echo OASIS_WORKSPACE=${{ inputs.oasis-workspace }} >> $GITHUB_ENV
|
||||
- name: Post Echo
|
||||
run: echo "POST"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue