Skip to content

Commit

Permalink
move classes-module to outside dir; remove git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleinen committed Oct 3, 2024
1 parent 79edc93 commit abf2cd0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-staging-drafts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
cat data/gitinfo.yml
- name: Build Hugo Site
run: |
hugo mod get
hugo --minify --buildDrafts --environment stagingdrafts
# https://github.com/peaceiris/actions-gh-pages
- name: Deploy to Staging Drafts on Github Pages
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: bin/hugo_deployment/gitversion.sh ${{ github.ref }} ${{ github.sha }} "${{ github.workflow }}"
- name: Build Hugo Site
run: |
hugo mod get
hugo --minify --environment staging
# https://github.com/peaceiris/actions-gh-pages
- name: Deploy to Staging on Github Pages
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "themes/greenpage"]
path = themes/greenpage
url = git@github.com:progwebtec/greenpage-theme.git
[submodule "classes-module"]
path = classes-module
url = git@github.com:progwebtec/classes-module.git
1 change: 0 additions & 1 deletion classes-module
Submodule classes-module deleted from b12d54
3 changes: 1 addition & 2 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ staticDir2 = ['static-snippets']
source = "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
target = "assets/js/bootstrap.bundle.min.js"
[[module.imports]]
path = '../classes-module'
#path = 'github.com/progwebtec/courses-module'
path = 'github.com/progwebtec/classes-module'
disabled = false

[[module.imports.mounts]]
Expand Down
3 changes: 3 additions & 0 deletions config/development/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
#baseURL = 'https://localhost:4242/~kleinen/'
#baseURL = 'https://localhost:4242/'

[module]
replacements = 'github.com/progwebtec/classes-module -> ../../classes-module'

0 comments on commit abf2cd0

Please sign in to comment.