From 32d2ac7860cc98a67ca0033e832f55cd05ee8008 Mon Sep 17 00:00:00 2001 From: Sebastian Luna-Valero Date: Thu, 19 Sep 2024 10:33:31 +0200 Subject: [PATCH] add PWD to PATH --- .github/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 34d0a12..ee642b6 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -34,11 +34,12 @@ jobs: curl https://raw.githubusercontent.com/oidc-mytoken/client/master/config/example-config.yaml \ | sed 's/default_provider:/default_provider: "egi"/g' \ > ~/.mytoken/config.yaml + # add PWD to the PATH + echo "$PWD" >> $GITHUB_PATH - name: Configure providers access env: MYTOKEN: ${{ secrets.MYTOKEN }} run: | - PATH="$PWD:$PATH" cd deployment ./site-config.sh - name: Setup Terraform @@ -123,7 +124,7 @@ jobs: ${{ steps.public_ip.outputs.stdout }} requirements: galaxy-requirements.yaml options: | - --extra-vars ACCESS_TOKEN=$("$PWD"/mytoken AT --MT-env MYTOKEN) + --extra-vars ACCESS_TOKEN=$(mytoken AT --MT-env MYTOKEN) --extra-vars git_ref=${{ github.sha }} --ssh-common-args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -u egi