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