Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.01 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.01 KB

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 }}