Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Jul 6, 2024
1 parent 97e1c70 commit 8d4a6c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ""
Expand Down

0 comments on commit 8d4a6c1

Please sign in to comment.