From c0e3817676d26b2e5d8e8e8e715a73e69ac58cf5 Mon Sep 17 00:00:00 2001 From: gaston UV Date: Thu, 8 Dec 2022 17:09:15 -0400 Subject: [PATCH] cambio set-output v9 --- .github/workflows/auto_prod_deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto_prod_deploy.yml b/.github/workflows/auto_prod_deploy.yml index 398b2c8..37834cb 100644 --- a/.github/workflows/auto_prod_deploy.yml +++ b/.github/workflows/auto_prod_deploy.yml @@ -145,12 +145,12 @@ jobs: - name: generate the version number run: | ls -al - var=$(cat Home.textile | grep PRODUCTION | cut -d":" -f2) + var=$(cat Home.md | grep PRODUCTION | cut -d":" -f2) echo $var - sed -i -e "s/$var/\ ${{needs.deploy-production.outputs.output1}}/g" Home.textile - head -n 6 Home.textile > tmp.txt; mv tmp.txt Home.textile - cat Home.textile + sed -i -e "s/$var/\ ${{needs.deploy-production.outputs.output1}}/g" Home.md + head -n 6 Home.md > tmp.txt; mv tmp.txt Home.md + cat Home.md - name: Commit files