diff options
| author | Ryan Cao <[email protected]> | 2023-03-17 20:44:47 +0800 |
|---|---|---|
| committer | Ryan Cao <[email protected]> | 2023-03-17 20:44:47 +0800 |
| commit | 03c5675b909d07561777d2a1e88a856cec5f6ff6 (patch) | |
| tree | 939543e38c0f6369dc731e191d06affeee864075 /.github | |
| parent | 991db15eeeea733dcf69e0b18c1fc06e4838e929 (diff) | |
refactor: retrieve Git revision from Lume
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/deploy.yaml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 691cf6c..382cdbe 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -21,11 +21,9 @@ jobs: uses: denoland/setup-deno@v1 with: deno-version: v1.31.3 - + - name: build site - run: | - sed -i "s/commit:/commit: $GITHUB_SHA/" src/_includes/layouts/base.njk - deno task build + run: deno task build - name: setup pages uses: actions/configure-pages@v3 @@ -34,7 +32,7 @@ jobs: uses: actions/upload-pages-artifact@v1 with: path: '_site' - + - name: deploy id: deployment - uses: actions/deploy-pages@v1
\ No newline at end of file + uses: actions/deploy-pages@v1 |
