aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/deploy.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r--.github/workflows/deploy.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 9113188..82903f8 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -36,9 +36,11 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- # The Dockerfile will be needed.
- name: Checkout code
uses: actions/checkout@v2
+ with:
+ # The version script relies on history. Fetch 100 commits to be safe.
+ fetch-depth: 100
# Build the final production image and push it to GHCR.
# Tag it with both the short commit SHA and 'latest'.