You've already forked pedini.dev
fucking ubuntu shit outdated repos, fuck canonical
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 11s
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 11s
This commit is contained in:
@@ -17,7 +17,11 @@ jobs:
|
||||
steps:
|
||||
- run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > /private.key
|
||||
- run: chmod 600 /private.key
|
||||
- run: apt update && apt install -y hugo
|
||||
- run: |
|
||||
export HUGO_VERSION=$(curl --silent -I https://github.com/gohugoio/hugo/releases/latest | grep location | sed 's|.*tag/||' | tr -d '\r')
|
||||
export HUGO_VERSION_SHORT=$(echo ${HUGO_VERSION} | sed 's/v//')
|
||||
wget https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_${HUGO_VERSION_SHORT}_linux-amd64.deb
|
||||
dpkg -i hugo_*.deb
|
||||
- uses: actions/checkout@v4
|
||||
- run: APP_VERSION=latest make
|
||||
- run: |
|
||||
|
Reference in New Issue
Block a user