From 74d2fe52923db04ca42aef7d7095f39e2e68e189 Mon Sep 17 00:00:00 2001 From: rizaldy Date: Tue, 13 Feb 2024 10:40:10 +0700 Subject: [PATCH] coba --- .gitea/workflows/eleventy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/eleventy.yaml b/.gitea/workflows/eleventy.yaml index 1eda577..c9006ac 100644 --- a/.gitea/workflows/eleventy.yaml +++ b/.gitea/workflows/eleventy.yaml @@ -7,10 +7,12 @@ jobs: steps: - uses: actions/checkout@master + - id: last_commit + run: echo "git_hash=$(git rev-parse --short "$GITHUB_SHA")" >> $LAST_COMMIT - name: Build uses: TartanLlama/actions-eleventy@master env: - LAST_COMMIT: ${{ vars.GITHUB_REF_NAME }} + LAST_COMMIT: ${{ env.last_commit }} with: install_dependencies: true - uses: actions/setup-node@v3