Skip to content

Commit f439e2b

Browse files
committed
fix git history for scm versioning
1 parent 4f80b14 commit f439e2b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ jobs:
1414
deploy-documentation:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- name: Check out src from Git
18+
uses: actions/checkout@v2
19+
- name: Get history and tags for SCM versioning to work
20+
run: |
21+
git fetch --prune --unshallow
22+
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
1823
- name: Login to Heroku Container Registry
1924
run: echo ${{ secrets.HEROKU_API_KEY }} | docker login -u ${{ secrets.HEROKU_EMAIL }} --password-stdin registry.heroku.com
2025
- name: Build Docker Image

0 commit comments

Comments
 (0)