Skip to content

Revert Hugo version #11

Revert Hugo version

Revert Hugo version #11

Workflow file for this run

name: Deploy Hugo Site
on:
push:
branches:
- master # Adjust the branch name if needed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
with:
ref: master
- name: Get Theme
run: git submodule update --init --recursive
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.113.3'
- name: Build Hugo Site
run: hugo
- name: Deploy to Server
uses: easingthemes/ssh-deploy@v2
with:
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
REMOTE_PORT: ${{ secrets.REMOTE_PORT }}
TARGET: "/home/nawanmyi/domains/nawan.my.id/public_html"
SOURCE: "public/"
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-avz --delete"