diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 46e3336..c3d924c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -3,7 +3,7 @@ name: GitHub Pages on: push: branches: - - master + - main jobs: deploy: @@ -35,7 +35,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist/spa diff --git a/README.md b/README.md index 674d159..9284b6a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # growth-js -[![GitHub Pages](https://github.com/CrescNet/growth-js/actions/workflows/gh-pages.yml/badge.svg?branch=master)](https://crescnet.github.io/growth-js) +[![GitHub Pages](https://github.com/CrescNet/growth-js/actions/workflows/gh-pages.yml/badge.svg?branch=main)](https://crescnet.github.io/growth-js) ## Description This single-site application visualizes child growth data using Chart.js. Users can choose from multiple reference values.