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