diff --git a/.gitea/workflows/eleventy.yaml b/.gitea/workflows/eleventy.yaml index 0db58fa..4b20535 100644 --- a/.gitea/workflows/eleventy.yaml +++ b/.gitea/workflows/eleventy.yaml @@ -7,12 +7,11 @@ jobs: steps: - uses: actions/checkout@master - - id: last_commit - run: echo "git_hash=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV" + - run: echo "git_hash=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV" - name: Build uses: TartanLlama/actions-eleventy@master env: - LAST_COMMIT: ${{ env.last_commit }} + LAST_COMMIT: ${{ vars.git_hash }} with: install_dependencies: true - uses: actions/setup-node@v3