Skip to content

Commit

Permalink
Merge pull request #87 from NREL/fix/deploy-book
Browse files Browse the repository at this point in the history
fixed problems with deploying mdbook
  • Loading branch information
calbaker authored Dec 20, 2023
2 parents 61e2cfe + 9aaf224 commit 75e60fb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
paths:
- "docs/**"
- ".github/workflows/deploy-book.yaml"
pull_request:
branches: ["fastsim-2"]
paths:
- "docs/**"
- ".github/workflows/deploy-book.yaml"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -31,7 +26,7 @@ concurrency:
jobs:
# Build job
build:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
env:
MDBOOK_VERSION: 0.4.21
steps:
Expand All @@ -45,7 +40,7 @@ jobs:
id: pages
uses: actions/configure-pages@v3
- name: Build with mdBook
working-directory: ${{runner.workspace}}/mbap-computing/docs/
working-directory: ${{runner.workspace}}/fastsim/docs/
run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand All @@ -57,7 +52,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit 75e60fb

Please sign in to comment.