This commit is contained in:
parent
fe8b350645
commit
d646d3c0ca
1 changed files with 1 additions and 6 deletions
|
@ -16,12 +16,7 @@ jobs:
|
||||||
- name: Grab packages
|
- name: Grab packages
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y jq rsync tar wget && \
|
apt-get install -y jq rsync tar wget
|
||||||
wget https://github.com/gohugoio/hugo/releases/download/v0.123.4/hugo_0.123.4_linux-amd64.tar.gz && \
|
|
||||||
tar -xzvf hugo_0.123.4_linux-amd64.tar.gz && \
|
|
||||||
chmod +x hugo
|
|
||||||
- name: Run build task
|
|
||||||
run: ./hugo --minify --logLevel info
|
|
||||||
- name: Test static page
|
- name: Test static page
|
||||||
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
|
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
|
|
Loading…
Add table
Reference in a new issue