Merge pull request #369 from xlionjuan/patch-1

optimization for action
This commit is contained in:
RustDesk 2024-04-02 11:43:39 +08:00 committed by GitHub
commit 8bfa1d127f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 *