From 1a608352d70bd53b457ed427fe5fb95303710ae4 Mon Sep 17 00:00:00 2001 From: juftin Date: Sat, 2 Mar 2024 14:18:46 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20juftin.com/dotfiles/get?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docs.yaml | 1 - README.md | 4 ++-- docs/gen_pages.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3c63428..ed33f15 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -5,7 +5,6 @@ on: jobs: release: name: docs - if: github.repository_owner == 'juftin' runs-on: ubuntu-latest permissions: pages: write diff --git a/README.md b/README.md index a69e888..5465613 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ my personal dotfiles ### Automatic ```shell -/bin/bash -c "$(curl -fsSL https://juftin.com/dotfiles/bootstrap.sh)" +/bin/bash -c "$(curl -fsSL https://juftin.com/dotfiles/get)" ``` @@ -37,7 +37,7 @@ docker run --rm -it \ /bin/bash -c \ 'apt update -qq &>/dev/null && \ apt install -qq -y curl &>/dev/null && \ - /bin/bash -c "$(curl -fsSL https://juftin.com/dotfiles/bootstrap.sh)" && \ + /bin/bash -c "$(curl -fsSL https://juftin.com/dotfiles/get)" && \ zsh' ``` diff --git a/docs/gen_pages.py b/docs/gen_pages.py index bd6c4b9..bc7c79c 100644 --- a/docs/gen_pages.py +++ b/docs/gen_pages.py @@ -22,5 +22,5 @@ # Read the bootstrap.sh content bootstrap_content = Path("bootstrap.sh").read_bytes() # Write the bootstrap.sh content to the output file -with mkdocs_gen_files.open("bootstrap.sh", "wb") as bootstrap_file: +with mkdocs_gen_files.open("get", "wb") as bootstrap_file: bootstrap_file.write(bootstrap_content)