From a15fabf23ebc5ff01c19375fcbfe9f807d4d6b0b Mon Sep 17 00:00:00 2001 From: Alexandr Bogomyakov Date: Sat, 4 Nov 2023 13:11:50 +0200 Subject: [PATCH] Fix GH rev --- .github/workflows/build-and-publish.yaml | 2 +- templates/partials/footer.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 9e63cc4..3a79393 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -9,7 +9,7 @@ jobs: - name: Checkout uses: actions/checkout@v3.0.0 - name: Set commit id - run: sed -e "s/tag\ =.*/tag = \"${{ github.head_ref }}.${{ github.sha }}\"/" -i config.toml + run: sed -e "s/tag\ =.*/tag = \"${{ github.sha }}\"/" -i config.toml - name: Build and push to gh-pages branch uses: shalzz/zola-deploy-action@v0.17.2 env: diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 22ca360..0b78ced 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -6,11 +6,12 @@ {% endfor %} -