From abedce773ef053911968e64947830418b3e02aa5 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 18 Oct 2023 02:04:30 +0100 Subject: [PATCH] update action --- .gitea/workflows/deploy.yml | 2 ++ Dockerfile | 3 +++ 2 files changed, 5 insertions(+) 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