Skip to content

Create 2024-03-23-trust-in-saas.md #622

Create 2024-03-23-trust-in-saas.md

Create 2024-03-23-trust-in-saas.md #622

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.110.0"
extended: true
- name: Build
run: hugo --minify
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Test
run: node test.js
- name: Upload
uses: appleboy/scp-action@v0.1.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "public/*"
strip_components: 1
target: "/config/sites/danpalmer.me/"
overwrite: true