ci: LAST_COMMIT
All checks were successful
eleventy / build (push) Successful in 10m55s

This commit is contained in:
rizaldy 2024-02-13 11:08:35 +07:00
parent 229b30ac82
commit 29a5e58e62

View File

@ -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