Skip to content

Commit

Permalink
Fix deploy yaml path and hugo version
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearcat committed Apr 23, 2024
1 parent 06ea5e7 commit c177cfe
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/deploy.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.125.3'
# extended: true
hugo-version: '0.119.0'
extended: true

- name: Build
run: cd better-ripe;hugo --minify
Expand All @@ -36,13 +36,12 @@ jobs:
- name: Deploy over SSH
uses: easingthemes/[email protected]
with:
server: ${{ secrets.HOSTING_DEPLOY_HOST }}
remote_port: 22
server_user: deploy
server_key: ${{ secrets.HOSTING_DEPLOY_KEY }}
local_path: './public'
remote_path: /var/www/html
args: '-avz --delete'
branch: 'main'
REMOTE_HOST: ${{ secrets.HOSTING_DEPLOY_HOST }}
REMOTE_USER: deploy
REMOTE_PORT: 22
SOURCE: "better-ripe/public/"
TARGET: "/var/www/html"
ARGS: "-avz --delete"
SSH_PRIVATE_KEY: ${{ secrets.HOSTING_DEPLOY_KEY }}
# dry_run: true
# debug: true

0 comments on commit c177cfe

Please sign in to comment.