Compare commits

...

2 Commits

Author SHA1 Message Date
db7f32eb7f need hugo installed to build hugo site, no?
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 3s
2024-08-21 22:35:44 +02:00
e13bd64dc6 stupid syntax error 2024-08-21 22:31:38 +02:00
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ jobs:
steps: steps:
- run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > /private.key - run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > /private.key
- run: chmod 600 /private.key - run: chmod 600 /private.key
- run: sudo apt install hugo
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: APP_VERSION=latest make - run: APP_VERSION=latest make
- run: | - run: |

View File

@ -2,7 +2,7 @@
set -e set -e
# Check if version is already provided # Check if version is already provided
if [ -z "${APP_VERSION}"]; then if [ -z "${APP_VERSION}" ]; then
# Get version from user # Get version from user
read -p "Version [latest]: " VERSIONINPUT read -p "Version [latest]: " VERSIONINPUT
# If version was not provided, use the latest commit short hash as version # If version was not provided, use the latest commit short hash as version