diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index ced0ce7..8d98fbb 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -3,7 +3,7 @@ name: Create release on: push: branches: - - master + - main jobs: create-release: @@ -16,7 +16,7 @@ jobs: with: release-type: node package-name: react-hooks-paginator - default-branch: master + default-branch: main changelog-path: CHANGELOG.md deploy: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8d429fe..93adfea 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -32,7 +32,7 @@ jobs: uses: ./.github/actions/run-tests build-publish: - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' name: Publish runs-on: ubuntu-latest diff --git a/README.md b/README.md index 02935cf..c17d0b2 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # React Hooks Paginator -[![Build Status](https://travis-ci.org/codenaz/react-paginator.svg?branch=master)](https://travis-ci.org/codenaz/react-paginator) - -![demo](https://s5.gifyu.com/images/animate.gif) +![Build](https://github.com/github/docs/actions/workflows/test.yml/badge.svg?branch=main) A library for adding simple paginator functionality to your react app.