diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 47d5cac00..7672e5b92 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -21,6 +21,17 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # Fetch all history for git info + submodules: recursive # Fetch submodules + token: ${{ secrets.GH_PAT }} + + - name: Update Submodule + run: | + git config --global url."https://${{ secrets.GH_PAT }}:x-oauth-basic@github.com/".insteadOf "https://github.com/" + git submodule update --remote --merge + git add . + git commit -m "Updated submodule content" + git push origin main + - uses: actions/setup-node@v3 with: node-version: 18.14 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..11be2f819 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "content"] + path = content + url = https://github.com/psycho-baller/my-universe-content diff --git a/content b/content new file mode 160000 index 000000000..a037658c3 --- /dev/null +++ b/content @@ -0,0 +1 @@ +Subproject commit a037658c3fb089c122c80dfa6b44e3c7e81c2c81 diff --git a/content/index.md b/content/index.md deleted file mode 100644 index 5a63ebdeb..000000000 --- a/content/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# Welcome! - -Meow! 🐱 \ No newline at end of file diff --git a/quartz.config.ts b/quartz.config.ts index a8c714726..6cdaf776c 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -15,7 +15,7 @@ const config: QuartzConfig = { provider: "plausible", }, locale: "en-US", - baseUrl: "https://psycho-baller.github.io", + baseUrl: "psycho-baller.github.io", ignorePatterns: [ "private", "templates",