Skip to content

Move files to a different branch and make a commit. Useful for GitHub Actions deployment.

License

Notifications You must be signed in to change notification settings

ActionwareIO/branch-push-action

Repository files navigation

Branch push action

Move files to a different branch and make a commit. Useful for GitHub Action deployment.

Build status Software License

Usage

Full article about this action

.github/workflows/deploy.yml:

name: deploy

on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1

      -  # build

      - uses: ActionwareIO/branch-push-action@action
        with:
          branch: action
          files: |
            README.md
            action.yml
            ./dist/index.js
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

Move files to a different branch and make a commit. Useful for GitHub Actions deployment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published