[HOTFIX] Workflow Overhaul

This commit is contained in:
Dunemask 2024-02-20 03:19:30 -07:00
parent 47f82efb19
commit 4334357d8a

View file

@ -51,10 +51,7 @@ runs:
./infisical export --domain ${{ inputs.api-url }} --token ${{ inputs.infisical-token}} --env "${env_list[i]}" --path "${path_list[i]}" --format yaml | tee >(./yq -r 'to_entries[] | .key + "=" +.value' >> $GITHUB_ENV) | ./yq -r 'to_entries[] | "echo ::add-mask::\"" + .value + "\""' >> mask.sh;
chmod +x mask.sh
./mask.sh
cat ./mask.sh
rm mask.sh
done
env
- shell: bash
run: echo "Secrets added to environment!".
run: echo "Secrets added to environment!" && env