From 339b1425af747eb6ea1d7da5a707fee5aa1d6c37 Mon Sep 17 00:00:00 2001 From: rlaisqls Date: Sat, 2 Mar 2024 23:45:13 +0900 Subject: [PATCH] test --- .github/workflows/copy-files-from-til.yml | 16 +++++++++++----- astro.config.mjs | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/copy-files-from-til.yml b/.github/workflows/copy-files-from-til.yml index 3a897469..791243a5 100644 --- a/.github/workflows/copy-files-from-til.yml +++ b/.github/workflows/copy-files-from-til.yml @@ -11,10 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - - name: Clone repository + - name: Checkout repository uses: actions/checkout@v2 - with: - repository: rlaisqls/TIL + + - name: Clone repository + run: | + git clone --branch main https://github.com/rlaisqls/TIL.git - name: Add labels run: | @@ -35,13 +37,17 @@ jobs: mv tmpfile "$file" elif [ -d "$file" ]; then - add_text_to_files "$dir/$file" + add_labels_to_files "$dir/$file" cd "$dir" fi done } - add_labels_to_files TIL + ls + ls ../ + cd TIL + pwd + add_labels_to_files $(pwd) - name: Copy files run: | diff --git a/astro.config.mjs b/astro.config.mjs index 75191bca..2df7b512 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -23,7 +23,7 @@ export default defineConfig({ }, { label: 'TIL', - autogenerate: { directory: 'TIL/개발', collapsed: true }, + autogenerate: { directory: 'TIL', collapsed: true }, } ], customCss: ['./src/tailwind.css'],