diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 69192d2..744ce46 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Cloning repo uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Push to dokku uses: dokku/github-action@master diff --git a/Dockerfile b/Dockerfile index 333b1b7..9b11937 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM fascinated/docker-images:node-latest EXPOSE 80 ENV HOST=0.0.0.0 +ARG GIT_REV +ENV GIT_REV ${GIT_REV} + COPY . /home/container RUN ls -a