Skip to content

GitHub Actions for GitHub Pages v2.6.0

Compare
Choose a tag to compare
@peaceiris peaceiris released this 22 Dec 20:53

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