From b142f42f48cb562768db765cbb006152f728b01e Mon Sep 17 00:00:00 2001 From: FutureProofHomes <155350996+FutureProofHomes@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:34:23 -0400 Subject: [PATCH 1/3] creating develop branch and setting passwords accordingly per banch --- encryptcontent.cache | 1 + mkdocs.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/encryptcontent.cache b/encryptcontent.cache index e76be25..3110983 100644 --- a/encryptcontent.cache +++ b/encryptcontent.cache @@ -1,6 +1,7 @@ kdf_iterations: 10000 obfuscate: {} password: + diff_password: 708bca7f6eb2c8d543f7df9aa5e5c2eb5287822d4a221eeb357ca17a15f22703;09e3a04253d34c7af5d4eee8f8d2db3a;387d2bb824585e5bd5e77879a411e83990487c8b76601866483d7a8fadb16b30 testing: 42d78f482adea6d5b33aa88421c23a459a834c26b32ce087a6ea998c91121a59;4a8f8fffa6b1edc799851820f6363b8a;cf80cd8aed482d5d1527d7dc72fceff84e6326592848447d2dc0b0e87dfc9a90 your_password: 2f287fed996a9503605288edf858c57fbb13253b53040d306b2f6ebf72d9b0e4;24c377013906c63222e69a0be03898f3;4da3376323046a3bb6759f0a3f4ae7100a0567950c53ee42d2e19201baaa6dfc userpass: {} diff --git a/mkdocs.yml b/mkdocs.yml index 8e4b45b..0bfc151 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -51,7 +51,7 @@ markdown_extensions: plugins: - encryptcontent: - global_password: 'your_password' + global_password: 'diff_password' copyright: | © 2024 FutureProof Homes LLC \ No newline at end of file From 03d4d536090c8f9980164f0dca6ba5aeb0810a69 Mon Sep 17 00:00:00 2001 From: FutureProofHomes <155350996+FutureProofHomes@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:02:16 -0400 Subject: [PATCH 2/3] attempting to set mkdocs password from github secretes --- .github/workflows/ci.yaml | 5 +++++ mkdocs.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 927e45a..f2e1410 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,4 +27,9 @@ jobs: mkdocs-material- - run: pip install mkdocs-material - run: pip install mkdocs-encryptcontent-plugin + - name: Create MKdocs Password + run: | + echo "global_password: ${{ secrets.MKDOCS_PW }}" > mkdocs_passwords.yaml + - name: Verify MKdocs Password + run: cat mkdocs_passwords.yaml - run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 0bfc151..fdfbaa8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -51,7 +51,7 @@ markdown_extensions: plugins: - encryptcontent: - global_password: 'diff_password' + password_file: 'mkdocs_passwords.yaml' copyright: | © 2024 FutureProof Homes LLC \ No newline at end of file From 4ebd6ba923ef08efdfc93a745e763384bff15cb4 Mon Sep 17 00:00:00 2001 From: FutureProofHomes <155350996+FutureProofHomes@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:06:51 -0400 Subject: [PATCH 3/3] remove pw cache --- encryptcontent.cache | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 encryptcontent.cache diff --git a/encryptcontent.cache b/encryptcontent.cache deleted file mode 100644 index 3110983..0000000 --- a/encryptcontent.cache +++ /dev/null @@ -1,7 +0,0 @@ -kdf_iterations: 10000 -obfuscate: {} -password: - diff_password: 708bca7f6eb2c8d543f7df9aa5e5c2eb5287822d4a221eeb357ca17a15f22703;09e3a04253d34c7af5d4eee8f8d2db3a;387d2bb824585e5bd5e77879a411e83990487c8b76601866483d7a8fadb16b30 - testing: 42d78f482adea6d5b33aa88421c23a459a834c26b32ce087a6ea998c91121a59;4a8f8fffa6b1edc799851820f6363b8a;cf80cd8aed482d5d1527d7dc72fceff84e6326592848447d2dc0b0e87dfc9a90 - your_password: 2f287fed996a9503605288edf858c57fbb13253b53040d306b2f6ebf72d9b0e4;24c377013906c63222e69a0be03898f3;4da3376323046a3bb6759f0a3f4ae7100a0567950c53ee42d2e19201baaa6dfc -userpass: {}