diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e08f33..9987e90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,11 +3,11 @@ name: Node.js CI on: push: branches: - - master + - main - v* pull_request: branches: - - master + - main jobs: lint: @@ -44,7 +44,7 @@ jobs: - name: Copy built files to docs run: cp ./dist/shareon.min.* ./docs - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} - name: Deploy to GitHub Pages uses: crazy-max/ghaction-github-pages@v2 with: @@ -52,6 +52,6 @@ jobs: build_dir: docs fqdn: shareon.js.org jekyll: false - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 77b18e1..f25c6b2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ - **Stylish.** Uses official vector logos and colors with no visual mess. - **Ethical.** Embeds no tracking code. JS is required only for the setup. -shareon example +shareon example ---- Observe the live demo here: [shareon.js.org](https://shareon.js.org) diff --git a/docs/index.html b/docs/index.html index e682c0b..804aa64 100644 --- a/docs/index.html +++ b/docs/index.html @@ -283,7 +283,7 @@ shareon(); - +