From 82f80ee66e6cf61062b40908a95c6188bae91385 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 14 Nov 2023 19:14:59 +0100 Subject: [PATCH] chore: add commit message example to deployment --- .github/workflows/rust-doc.yml | 3 ++- .github/workflows/rust.yml | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-doc.yml b/.github/workflows/rust-doc.yml index deda241..531d2c3 100644 --- a/.github/workflows/rust-doc.yml +++ b/.github/workflows/rust-doc.yml @@ -3,7 +3,7 @@ name: RustDoc Deployment on: push: branches: - - doc/publish-doc + - master jobs: deploy-docs: @@ -21,4 +21,5 @@ jobs: with: deploy_key: ${{ secrets.DEPLOY_KEY }} publish_dir: ./target/doc + commit_message: ${{ github.event.head_commit.message }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9e5a90e..eb8ce3a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,9 +15,8 @@ env: jobs: build: - runs-on: ubuntu-latest - + environment: production steps: - uses: actions/checkout@v3