mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-06-19 17:27:57 +02:00
optimization for action
This commit is contained in:
parent
439767962d
commit
60b321917f
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Hugo
|
- name: Install Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
@ -28,8 +28,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
sudo apt update -y
|
#sudo apt update
|
||||||
sudo apt install -y git
|
#sudo apt install -y git
|
||||||
git clone https://github.com/matcornic/hugo-theme-learn themes/hugo-theme-learn --depth=1
|
git clone https://github.com/matcornic/hugo-theme-learn themes/hugo-theme-learn --depth=1
|
||||||
hugo --minify
|
hugo --minify
|
||||||
cd public; tar czf x *
|
cd public; tar czf x *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user