ci: use Hugo extended
This commit is contained in:
parent
cb29f90c69
commit
3df071522e
1 changed files with 4 additions and 4 deletions
|
@ -15,13 +15,13 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: hugo
|
||||
key: ${{ runner.os }}-hugo
|
||||
key: ${{ runner.os }}-hugo-extended
|
||||
|
||||
- name: Download Hugo
|
||||
if: steps.cache-hugo.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
curl -L -o hugo_0.140.0_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.140.0/hugo_0.140.0_linux-amd64.tar.gz
|
||||
tar zxvf hugo_0.140.0_linux-amd64.tar.gz
|
||||
curl -L -o hugo_extended_0.140.0_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.140.0/hugo_extended_0.140.0_linux-amd64.tar.gz
|
||||
tar zxvf hugo_extended_0.140.0_linux-amd64.tar.gz
|
||||
|
||||
- name: Build website
|
||||
run: ./hugo
|
||||
|
@ -45,4 +45,4 @@ jobs:
|
|||
apt install -y lftp
|
||||
|
||||
- name: Deploy website
|
||||
run: lftp -c "open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASS }} ${{ secrets.FTP_HOST }}; mirror -R . ~/${{ secrets.FTP_DIR }}; quit"
|
||||
run: lftp -c "open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASS }} ${{ secrets.FTP_HOST }}; mirror -R . ~/${{ secrets.FTP_DIR }}; quit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue