Skip to content

Commit

Permalink
cambio set-output v9
Browse files Browse the repository at this point in the history
  • Loading branch information
gninaunitedvirtualities committed Dec 8, 2022
1 parent 4abafc5 commit c0e3817
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/auto_prod_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0e3817

Please sign in to comment.