optimization for action

This commit is contained in:
XLion
2024-04-02 11:27:46 +08:00
committed by GitHub
parent 439767962d
commit 60b321917f

View File

@@ -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 *