Skip to content

Commit

Permalink
change github build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve0Greatness committed Feb 2, 2024
1 parent fea413b commit 0fa7921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ jobs:
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: docs
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from yaml import safe_load as LoadYML
from re import sub as RegReplace

GITHUB_BUILD_DIR = "docs" # Separate because this site is built with an action that won't work if they aren't
GITHUB_BUILD_DIR = "build" # Separate because this site is built with an action that won't work if they aren't
LOCAL_BUILD_DIR = "build"

BUILD_DIRECTORY = GITHUB_BUILD_DIR if len(argv) > 1 and argv[1] == "gh-pages-deploy" else LOCAL_BUILD_DIR
Expand Down

0 comments on commit 0fa7921

Please sign in to comment.