From 1bbe9f42c19e1d8e1fc7896eb371ffc094540534 Mon Sep 17 00:00:00 2001 From: Daniel Himmelstein Date: Sat, 29 Jun 2024 22:10:57 -0400 Subject: [PATCH] improve deployment commits --- .github/workflows/build.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e904fc3..fe952ba 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,6 +7,13 @@ jobs: name: Build runs-on: ubuntu-latest steps: + - name: Set parameters + id: params + shell: bash + run: | + DATE_ISO=$(date --utc --iso) + echo "Setting parameter date_iso=$DATE_ISO" + echo "date_iso=$DATE_ISO" >> $GITHUB_OUTPUT - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python @@ -26,3 +33,8 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: output publish_branch: gh-pages + full_commit_message: | + publish output on ${{ steps.params.outputs.date_iso }} + + code version ${{ github.sha }} + built by <${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}>