ci: check where the tf-docs binary is decompressed
This commit is contained in:
parent
8611f1d266
commit
d31e79430b
@ -54,9 +54,12 @@ jobs:
|
|||||||
# terraform-docs
|
# terraform-docs
|
||||||
curl -sSLo /tmp/terraform-docs.tar.gz \
|
curl -sSLo /tmp/terraform-docs.tar.gz \
|
||||||
https://terraform-docs.io/dl/v0.18.0/terraform-docs-v0.18.0-$(uname)-amd64.tar.gz
|
https://terraform-docs.io/dl/v0.18.0/terraform-docs-v0.18.0-$(uname)-amd64.tar.gz
|
||||||
tar -xzf /tmp/terraform-docs.tar.gz
|
tar -xzf /tmp/terraform-docs.tar.gz -C /tmp
|
||||||
|
ls -la
|
||||||
|
ls -la /tmp
|
||||||
chmod +x /tmp/terraform-docs
|
chmod +x /tmp/terraform-docs
|
||||||
mv /tmp/terraform-docs /usr/local/bin/terraform-docs
|
mv /tmp/terraform-docs /usr/local/bin/terraform-docs
|
||||||
|
rm -rf /tmp/terraform-docs*
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ./
|
working-directory: ./
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user