[CHORE] Tweak Secret Usage
This commit is contained in:
parent
0c0670a908
commit
f3a4f82368
1 changed files with 6 additions and 6 deletions
12
action.yml
12
action.yml
|
@ -4,10 +4,10 @@ inputs:
|
||||||
kubeconfig:
|
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
|
required: true
|
||||||
gitea-token:
|
forgejo-token:
|
||||||
description: 'Gitea token for downloading repositories'
|
description: 'Forgejo token for downloading repositories'
|
||||||
required: false
|
required: false
|
||||||
default: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN }} # Action can't read env, so we need to reset it later
|
default: ${{ env.DEVOPS_FORGEJO_ELYSIUM_ORG_READ_TOKEN }} # Action can't read env, so we need to reset it later
|
||||||
garden-version:
|
garden-version:
|
||||||
description: 'Version of Garden to deploy'
|
description: 'Version of Garden to deploy'
|
||||||
required: false
|
required: false
|
||||||
|
@ -19,7 +19,7 @@ inputs:
|
||||||
oasis-workspace:
|
oasis-workspace:
|
||||||
descipriont: 'Workspace to setup Oasis'
|
descipriont: 'Workspace to setup Oasis'
|
||||||
required: false
|
required: false
|
||||||
default: ${{ gitea.workspace}}/oasis
|
default: ${{ forgejo.workspace }}/oasis
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
@ -30,7 +30,7 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo CI_NAMESPACE=ci-$SHORT_COMMIT_SHA >> $GITHUB_ENV
|
echo CI_NAMESPACE=ci-$SHORT_COMMIT_SHA >> $GITHUB_ENV
|
||||||
echo DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN=${{ inputs.gitea-token }} >> $GITHUB_ENV
|
echo DEVOPS_FORGEJO_ELYSIUM_ORG_READ_TOKEN=${{ inputs.forgejo-token }} >> $GITHUB_ENV
|
||||||
echo "Checking out Oasis"
|
echo "Checking out Oasis"
|
||||||
# Checkout Oasis
|
# Checkout Oasis
|
||||||
- name: Checkout Oasis
|
- name: Checkout Oasis
|
||||||
|
@ -38,7 +38,7 @@ runs:
|
||||||
with:
|
with:
|
||||||
repository: "elysium/oasis"
|
repository: "elysium/oasis"
|
||||||
path: ${{ inputs.oasis-workspace }}
|
path: ${{ inputs.oasis-workspace }}
|
||||||
token: ${{ env.DEVOPS_GITEA_ELYSIUM_ORG_READ_TOKEN }}
|
token: ${{ env.DEVOPS_FORGEJO_ELYSIUM_ORG_READ_TOKEN }}
|
||||||
ref: ${{ inputs.oasis-branch }}
|
ref: ${{ inputs.oasis-branch }}
|
||||||
- name: Download Garden
|
- name: Download Garden
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue