Skip to content

rsync

rsync #99

Workflow file for this run

name: GH Pages Deploy
on:
push:
branches: ['*']
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
# - name: Install Cargo 🦀
# run: curl https://sh.rustup.rs -sSf | sh -y
- name: Install marmite 🫙
run: cargo install marmite
# put site in markout to stay consistent with existing pages/cloudflare configuration
- name: Build site 🏗️
run: marmite pype.dev markout -vvvv
- name: List files on site 📂
run: ls -R markout
- name: Github Pages
uses: crazy-max/[email protected]
with:
target_branch: markout
build_dir: markout
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}