Skip to content

Commit 9a7f687

Browse files
committed
echo 2
1 parent e8b484c commit 9a7f687

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy-pages.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v3
23+
- name: Echo version
24+
run: |
25+
version=$(git rev-parse HEAD)
26+
echo "Replacing version number in *.html with $version"
2327
- name: Replace version
2428
run: |
2529
mkdir production
2630
cp -R -v *.html *.gif css js production
2731
version=$(git rev-parse HEAD)
2832
echo "Replacing version number in *.html with $version"
2933
perl -pi -e 's/{VERSION}/'$version'/g' production/*.html
30-
- name: Echo version
31-
run: |
32-
version=$(git rev-parse HEAD)
33-
echo "Replacing version number in *.html with $version"
3434
- name: Deploy to GitHub Pages
3535
id: deployment
3636
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)