From 8d4a6c1438f4eb76bfafad933a6732fc3e9aba56 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sat, 6 Jul 2024 13:25:13 -0400 Subject: [PATCH] wip --- .github/workflows/book.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 639016c0f..c476d2d80 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -3,13 +3,14 @@ on: push: branches: [main] tags: ['*'] + pull_request permissions: contents: write # Adapted from: # https://github.com/rust-lang/mdBook/wiki/Automated-Deployment%3A-GitHub-Actions#github-pages-deploy jobs: deploy: - if: github.repository == 'rust-osdev/uefi-rs' + # if: github.repository == 'rust-osdev/uefi-rs' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -22,6 +23,8 @@ jobs: echo `pwd`/mdbook >> $GITHUB_PATH - name: Deploy GitHub Pages run: | + set -x + # Configure git user so that `git commit` works. git config user.name "Deploy from CI" git config user.email ""