Compare commits
2 Commits
f0cfff3818
...
db7f32eb7f
Author | SHA1 | Date | |
---|---|---|---|
db7f32eb7f | |||
e13bd64dc6 |
@ -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: |
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user