Skip to content
Compare
Choose a tag to compare
@tlylt tlylt released this 03 Apr 05:37
· 6 commits to master since this release
7f5ec8c

markbind-action

Breaking Changes

Update markbind-action to enhance existing features (#1)

A number of inputs have now changed both in terms of how they are specified in the workflow and the details of the inputs.

Migrating

If you are unsure where to start, first have a look at the README.md. It may be easier to look at the available options and choose
the relevant optional inputs to build your workflow.

A basic example for building and deploying to GitHub Pages is as follows:

name: MarkBind Action

on:
  push:
    branches:
      - main

jobs: 
  build_and_deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Build & Deploy MarkBind site
        uses: MarkBind/markbind-action@v2
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          version: '3.1.1'
          baseUrl: '/repoName'

Enhancements

Build with specified version (including the latest developmental version) of MarkBind (#1)
Build with files that are not at the root level of the repository (#1)
Option to keep files or discard before push to gh-pages branch (#1)

Features

Deploy to Surge.sh (#1)
PR preview for PRs made within the same repository (#1)

Documentation

Update readme to fix errors and improve readability (#3)