chore: fix workflow

This commit is contained in:
Jesús Pérez 2023-07-20 03:54:39 +01:00
parent a57420c33d
commit 73ff1c977e

View File

@ -15,20 +15,22 @@ jobs:
KUBECONFIG: "/tmp/.kubeconfig" KUBECONFIG: "/tmp/.kubeconfig"
RUSTUP_HOME: "/toolcache/rust/.rustup" RUSTUP_HOME: "/toolcache/rust/.rustup"
CARGO_HOME: "/toolcache/rust/.cargo" CARGO_HOME: "/toolcache/rust/.cargo"
KYD: ${{ secrets.KYD}}
steps: steps:
- name: Init job triggered by event - name: Init job triggered by event
run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event " run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event "
- name: Workspace - name: Workspace
run: | run: |
echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}." echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
echo "${{ secrets.KYD }}" | base64 -d > "$HOME/.kyd" KYD=$(echo "${{ secrets.KYD }}" | base64 -d)
echo "$KYD"
# ls ${{ gitea.workspace }} # ls ${{ gitea.workspace }}
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ssh-key: "$(echo ${{ secrets.KYD }} | base64 -d )" ssh-key: "$KYD"
persist-credentials: true persist-credentials: true
submodules: 'recursive' #submodules: 'recursive'
# Defs in https://github.com/actions/checkout # Defs in https://github.com/actions/checkout
#run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." #run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- name: Submodules update - name: Submodules update