testing hugo install
All checks were successful
Hugo Update Pipeline / Explore-Gitea-Actions (push) Successful in 15s
All checks were successful
Hugo Update Pipeline / Explore-Gitea-Actions (push) Successful in 15s
This commit is contained in:
@ -6,20 +6,22 @@ jobs:
|
|||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
with:
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
- name: List files in the repository
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
- name: List files in the repository pre
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v3
|
||||||
|
with:
|
||||||
|
hugo-version: 'latest'
|
||||||
|
# extended: true
|
||||||
|
- name: Build
|
||||||
|
run: hugo --minify
|
||||||
|
- name: List files in the repository post
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
- name: update
|
|
||||||
run: sudo apt-get update
|
|
||||||
- name: install Hugo
|
|
||||||
run: sudo apt install -y hugo
|
|
||||||
- name: Hugo test
|
|
||||||
run: hugo -v
|
|
Reference in New Issue
Block a user