Skip to content

add News for Pillar #229

add News for Pillar

add News for Pillar #229

Workflow file for this run

name: publish
on:
push:
branches: [ main ]
jobs:
generate:
name: "Generate site"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Generate static HTML"
uses: estebanlm/foliage-action@main
with:
source: './site'
target: 'generated'
- name: "Upload to server"
uses: up9cloud/[email protected]
env:
KEY: ${{secrets.SERVER_SSH_KEY}}
USER: ${{secrets.REMOTE_USER}}
HOST: ${{secrets.REMOTE_HOST}}
TARGET: ${{secrets.REMOTE_TARGET}}
SOURCE: generated/
POST_SCRIPT: "cd ${{secrets.REMOTE_TARGET}} && ln -s . web"