Update branch name references

pull/30/head
Nikita Karamov 2021-01-17 01:02:36 +03:00
parent e2ea950ec7
commit bab3369d79
No known key found for this signature in database
GPG Key ID: EA4E7DECEEA050E4
3 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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.
<img src="https://raw.githubusercontent.com/NickKaramoff/shareon/master/docs/screen01@2x.png" height="156" width="416" alt="shareon example">
<img src="https://raw.githubusercontent.com/NickKaramoff/shareon/main/docs/screen01@2x.png" height="156" width="416" alt="shareon example">
----
Observe the live demo here: [shareon.js.org](https://shareon.js.org)

View File

@ -283,7 +283,7 @@ shareon();</code></pre>
</footer>
<!-- These files are autocopied on build and will be present on the website -->
<!-- See https://github.com/NickKaramoff/shareon/blob/master/.github/workflows/node.yml#L29 -->
<!-- See https://github.com/NickKaramoff/shareon/blob/main/.github/workflows/node.yml#L29 -->
<link href="shareon.min.css" rel="stylesheet">
<script src="shareon.min.js" type="text/javascript"></script>
</body>