github peaceiris/actions-gh-pages v2.6.0
GitHub Actions for GitHub Pages v2.6.0

latest releases: v3, v3.9.0, v3.8.0...
2 years ago

Release v2.6.0

New Feature

Force orphan option

From v2.6.0, we can set the forceOrphan: true option.
This allows you to make your publish branch with only the latest commit.

- name: Deploy
  uses: peaceiris/actions-gh-pages@v2.6.0
  env:
    ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
    PUBLISH_BRANCH: gh-pages
    PUBLISH_DIR: ./public
  with:
    forceOrphan: true

cf. Comparing v2.5.1...v2.6.0 · peaceiris/actions-gh-pages

Don't miss a new actions-gh-pages release

NewReleases is sending notifications on new releases.