Change to manual checkout
Some checks failed
Build and Deploy Hugo / deploy (push) Failing after -16m55s
Some checks failed
Build and Deploy Hugo / deploy (push) Failing after -16m55s
This commit is contained in:
parent
172801c2d5
commit
3517f6ca1b
1 changed files with 6 additions and 5 deletions
|
@ -10,11 +10,12 @@ jobs:
|
|||
deploy:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Manual checkout
|
||||
run: |
|
||||
git clone ${{ github.server_url }}/${{ github.repository }} .
|
||||
cd ${{ github.repository }}
|
||||
git checkout ${{ github.sha }}
|
||||
git submodule init
|
||||
- name: Setup
|
||||
run: apt-get install hugo -y
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue