From 24ae320a7960a0ca2264088b7a2f1c28c110f76b Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 16 Dec 2023 11:45:45 +1100 Subject: [PATCH] fix: Move version page creation to build step --- .gitea/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index d78807b..076284c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -9,9 +9,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Add version page - run: | - echo "version: ${{ GITHUB_RUN_NUMBER }}" > content/version.txt - name: Install Docker run : | echo "Updating apt sources" @@ -33,7 +30,7 @@ jobs: tag_num="${tag}-${tag_num}" fi - + echo "version: ${{ GITHUB_RUN_NUMBER }}" > content/version.txt docker build -t hns_doh:$tag_num . docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag_num docker push git.woodburn.au/nathanwoodburn/hns_doh:$tag_num