From e8b484c1dbf9f4c95ddc93b423b87ab947388169 Mon Sep 17 00:00:00 2001 From: Henrik Huttunen Date: Fri, 16 Aug 2024 14:12:18 +0300 Subject: [PATCH] echo --- .github/workflows/deploy-pages.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index a554f8c..d8ec711 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -24,10 +24,13 @@ jobs: run: | mkdir production cp -R -v *.html *.gif css js production - version=$(git rev-parse HEAD) + version=$(git rev-parse HEAD) echo "Replacing version number in *.html with $version" perl -pi -e 's/{VERSION}/'$version'/g' production/*.html - ls production + - name: Echo version + run: | + version=$(git rev-parse HEAD) + echo "Replacing version number in *.html with $version" - name: Deploy to GitHub Pages id: deployment uses: JamesIves/github-pages-deploy-action@v4