Skip to content
arrow-up

GitHub Action

Push new files back to master.

1.0.0 Latest version

Push new files back to master.

arrow-up

Push new files back to master.

A GitHub Action to push any new files back to master

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Push new files back to master.

uses: mikeal/publish-to-github-action@1.0.0

Learn more about this action in mikeal/publish-to-github-action

Choose a version

publish-to-github-action

A GitHub Action to push any local file changes, including new files, back to master.

This action is useful to put after other actions that modify files in the local checkout that you'd then like to persist back into the repository.

Usage:

- uses: mikeal/publish-to-github-action@master
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}