Skip to content

Commit

Permalink
echo
Browse files Browse the repository at this point in the history
  • Loading branch information
egaga committed Aug 16, 2024
1 parent 868e2ba commit e8b484c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8b484c

Please sign in to comment.