diff --git a/.asf.yaml.publish b/.asf.yaml.publish index f72b21b..b08720c 100644 --- a/.asf.yaml.publish +++ b/.asf.yaml.publish @@ -3,4 +3,4 @@ # This file is only used on the site publishing branch publish: whoami: publish - subdir: content/jdo + subdir: jdo diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 6c8b978..ed67e29 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -20,7 +20,6 @@ on: - 'src/main/template/**' - 'src/main/resources/**' - '.asf.yaml.publish' - - '.htaccess' - 'pom.xml' @@ -79,8 +78,6 @@ jobs: if: success() run: | cp -v .asf.yaml.publish target/site/.asf.yaml - cp -v .htaccess target/site/ - - name: Check Out Site Branch if: success() @@ -107,7 +104,6 @@ jobs: if: success() run: | mv -v target/site/.asf.yaml ./ - mv -v target/site/.htaccess ./ # Moves the new site resources from the build directory to the content directory @@ -115,7 +111,7 @@ jobs: if: success() run: | mkdir -v content - mv -v target/site/* content/ + mv -v target/site/* ./ # Explicitly removes build dir # This checks whether there are any remaining resources that were not moved to the correct location diff --git a/.github/workflows/recreate-site-branch.yml b/.github/workflows/recreate-site-branch.yml index a717289..d3913c4 100644 --- a/.github/workflows/recreate-site-branch.yml +++ b/.github/workflows/recreate-site-branch.yml @@ -76,7 +76,7 @@ jobs: git reset rm .gitignore git add target/site - git add .asf.yaml.publish .htaccess + git add .asf.yaml.publish git clean -df @@ -84,8 +84,7 @@ jobs: - name: Move Content and Site Configuration if: success() run: | - mkdir -v content - git mv -v target/site/* content/ + git mv -v target/site/* ./ git mv -v .asf.yaml.publish .asf.yaml diff --git a/.htaccess b/.htaccess deleted file mode 100644 index ebd3035..0000000 --- a/.htaccess +++ /dev/null @@ -1,3 +0,0 @@ -RewriteEngine On -RewriteBase /jdo/ -RewriteRule ^(?!content/)(.*)$ content/$1