Skip to content

Plugin>Notification: add caveat in the "Notification Key" (#709) #88

Plugin>Notification: add caveat in the "Notification Key" (#709)

Plugin>Notification: add caveat in the "Notification Key" (#709) #88

Workflow file for this run

name: CD_Publish
on:
#workflow_run:
# workflows: CI_build
# branches: master
# types: completed
##... the if below would start with `github.event.workflow_run_conclusion == 'success' &&`
push:
branches:
- 'master'
workflow_dispatch:
jobs:
deploy:
name: Continuous Deployment to Publish Online User Manual Website
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'notepad-plus-plus' }}
steps:
- name: 🚚 Checkout repo
uses: actions/checkout@v4
- name: 📡 Get Hugo-Extended v0.68.3
#uses: peaceiris/actions-hugo@v2 # @v2 and @v2.6.0 giving node16-vs-node20 error in GitHub Actions
#uses: ricomariani/actions-hugo@16ab92f9dbb1f28bb75268a4a5eede16cdc2a6e2
uses: peaceiris/actions-hugo@v3 # @v3 released in April; hopefully solves the node16 warning/error
with:
hugo-version: '0.68.3'
extended: true
- name: 🔨 Build into ./public
working-directory: .
run: hugo --theme hugo-book-9
- name: 🎉 Deploy to npp-user-manual.org
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
username: ${{ secrets.USERMANUAL_USERNAME }}
server: ${{ secrets.USERMANUAL_HOST }}
port: ${{ secrets.USERMANUAL_PORT }}
ssh_private_key: ${{ secrets.USERMANUAL_KEY }}
delete_remote_files: false
local_path: './public/*'
remote_path: 'nppusermanual/public_html/'