Run Hugo deployments on host runner
All checks were successful
Publish Hugo Deployment Image / publish (push) Successful in 1m3s

This commit is contained in:
Neil Borromeo 2026-04-25 17:47:45 +08:00
commit 5c437bae74

View file

@ -33,13 +33,12 @@ jobs:
deploy:
name: ${{ inputs.workflow_name }}
timeout-minutes: 20
runs-on: docker-desktop
container:
image: registry.develton.com/cliper/hugo-deployment:v1
runs-on: develton-hugo
defaults:
run:
shell: bash
env:
PATH: /snap/hugo/current/bin:/usr/local/bin:/usr/bin:/bin:/snap/bin
DEPLOY_SSH_HOST: ${{ inputs.deploy_ssh_host != '' && inputs.deploy_ssh_host || vars.DEPLOY_SSH_HOST }}
DEPLOY_SSH_PORT: ${{ vars.DEPLOY_SSH_PORT }}
DEPLOY_SSH_USER: ${{ inputs.deploy_ssh_user != '' && inputs.deploy_ssh_user || vars.DEPLOY_SSH_USER }}