From e5249c4bcef0af3a9861a705f01783c93df9c723 Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 28 Jul 2022 15:48:10 -0700 Subject: [PATCH 1/5] Update docs_build.yml --- .github/workflows/docs_build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index d7186708..189d7cda 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -63,15 +63,12 @@ jobs: command: run menagerie generate - name: Upload Artifact - uses: actions/upload-artifact@v2 + if: success() && github.ref == 'refs/heads/main' + uses: actions/upload-pages-artifact@v1 with: - name: Built-Docs path: out/ - name: Deploy To Pages if: success() && github.ref == 'refs/heads/main' - uses: JamesIves/github-pages-deploy-action@4.1.5 - with: - branch: gh-pages - folder: out/ + uses: actions/deploy-pages@v1 From d4d6101d1db3e764326bb660526bff2a4a7d9164 Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 28 Jul 2022 18:49:22 -0400 Subject: [PATCH 2/5] Remove Docs Build In Debug --- .github/workflows/debug_build.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/debug_build.yml b/.github/workflows/debug_build.yml index c6fc4578..587cc772 100644 --- a/.github/workflows/debug_build.yml +++ b/.github/workflows/debug_build.yml @@ -23,10 +23,3 @@ jobs: uses: './.github/workflows/update_schemas.yml' with: artifact_name: NewHorizons-Schemas-Debug - Build_Docs: - name: 'Build Docs' - needs: Build - if: ${{ needs.Build.outputs.schemas_changed == 'true' }} - uses: './.github/workflows/docs_build.yml' - with: - schemas_artifact: NewHorizons-Schemas-Debug From 6a26eee1dfc9dbf44b15e2a0aca8a8acec5bcbe9 Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 28 Jul 2022 19:16:24 -0400 Subject: [PATCH 3/5] Fix Deploy Step --- .github/workflows/docs_build.yml | 23 +++++++++++++++++++++-- .github/workflows/update_schemas.yml | 5 +++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index 189d7cda..aabdef8e 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -18,8 +18,18 @@ env: URL_PREFIX: '/' PIPENV_VENV_IN_PROJECT: 1 +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + jobs: build: + name: Build Docs runs-on: ubuntu-latest steps: @@ -68,7 +78,16 @@ jobs: with: path: out/ - - name: Deploy To Pages - if: success() && github.ref == 'refs/heads/main' + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + name: Deploy Docs + needs: build + if: github.ref == 'refs/heads/main' + steps: + - name: Deploy to GitHub Pages + id: deployment uses: actions/deploy-pages@v1 diff --git a/.github/workflows/update_schemas.yml b/.github/workflows/update_schemas.yml index e1ddbeba..f98394f8 100644 --- a/.github/workflows/update_schemas.yml +++ b/.github/workflows/update_schemas.yml @@ -8,6 +8,11 @@ on: description: 'Name of the artifact to download and check against' type: string +# Prevents schemas from trying to update on old commits +concurrency: + group: "schemas-${{ github.ref }}" + cancel-in-progress: true + jobs: update_schemas: runs-on: ubuntu-latest From 0efa007472292642381bed783c6b8172830b44c2 Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 28 Jul 2022 19:17:56 -0400 Subject: [PATCH 4/5] Add Test Text --- docs/content/pages/secret.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/pages/secret.md b/docs/content/pages/secret.md index c556bbb5..d5d0a562 100644 --- a/docs/content/pages/secret.md +++ b/docs/content/pages/secret.md @@ -14,3 +14,6 @@ Uh idk what to put here thought it would be funny haha ![image](https://user-images.githubusercontent.com/25644444/178856213-44cb0a38-6d3d-4af6-b7f8-0ae6cda8d44a.png) +## Test + +aaaaaaaaaaaaaaaaaaaaaaaaa From 36cb35127db6219986cde3dac84c02f68485b1f1 Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 28 Jul 2022 18:02:17 -0700 Subject: [PATCH 5/5] Update details.md --- docs/content/pages/tutorials/details.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/content/pages/tutorials/details.md b/docs/content/pages/tutorials/details.md index 41f704b3..c8483065 100644 --- a/docs/content/pages/tutorials/details.md +++ b/docs/content/pages/tutorials/details.md @@ -8,7 +8,6 @@ Sort_Priority: 85 For physical objects there are currently two ways of setting them up: specify an asset bundle and path to load a custom asset you created, or specify the path to the item you want to copy from the game in the scene hierarchy. Use the [Unity Explorer](https://outerwildsmods.com/mods/unityexplorer){ target="_blank" } mod to find an object you want to copy onto your new body. Some objects work better than others for this. Good luck. Some pointers: - Use "Object Explorer" to search -- Do not use the search functionality on Scene Explorer, it is really, really slow. Use the "Object Search" tab instead. - Generally you can find planets by writing their name with no spaces/punctuation followed by "_Body". - There's also [this community-maintained list of props](https://docs.google.com/spreadsheets/d/1VJaglB1kRL0VqaXhvXepIeymo93zqhWex-j7_QDm6NE/edit?usp=sharing) which you can use to find interesting props and check to see if they have collision.