Skip to content

Merge pull request #73 from pharo-project/MarcusDenker-patch-4 #203

Merge pull request #73 from pharo-project/MarcusDenker-patch-4

Merge pull request #73 from pharo-project/MarcusDenker-patch-4 #203

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"