github peaceiris/actions-gh-pages v2.4.0

latest releases: v4, v4.0.0, v3...
5 years ago

Release v2.4.0

New feature - Keeping existing files

New option keepFiles by @RomanHotsiy #33 #34

By default, existing files in the publish branch are removed before adding the ones from publish dir. If you want the action to add new files but leave existing ones untouched, set the optional parameter keepFiles to true.

For example:

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

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

NewReleases is sending notifications on new releases.