From 60b321917fe66a748cd12c6668cbdf98b72fdb1a Mon Sep 17 00:00:00 2001 From: XLion Date: Tue, 2 Apr 2024 11:27:46 +0800 Subject: [PATCH] optimization for action --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dc69da0..f08bc9c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Hugo uses: peaceiris/actions-hugo@v2 @@ -28,8 +28,8 @@ jobs: - name: Build run: | - sudo apt update -y - sudo apt install -y git + #sudo apt update + #sudo apt install -y git git clone https://github.com/matcornic/hugo-theme-learn themes/hugo-theme-learn --depth=1 hugo --minify cd public; tar czf x *