Update branch name references
parent
e2ea950ec7
commit
bab3369d79
|
@ -3,11 +3,11 @@ name: Node.js CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
- v*
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
- name: Copy built files to docs
|
- name: Copy built files to docs
|
||||||
run: cp ./dist/shareon.min.* ./docs
|
run: cp ./dist/shareon.min.* ./docs
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: crazy-max/ghaction-github-pages@v2
|
uses: crazy-max/ghaction-github-pages@v2
|
||||||
with:
|
with:
|
||||||
|
@ -52,6 +52,6 @@ jobs:
|
||||||
build_dir: docs
|
build_dir: docs
|
||||||
fqdn: shareon.js.org
|
fqdn: shareon.js.org
|
||||||
jekyll: false
|
jekyll: false
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
- **Stylish.** Uses official vector logos and colors with no visual mess.
|
- **Stylish.** Uses official vector logos and colors with no visual mess.
|
||||||
- **Ethical.** Embeds no tracking code. JS is required only for the setup.
|
- **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)
|
Observe the live demo here: [shareon.js.org](https://shareon.js.org)
|
||||||
|
|
|
@ -283,7 +283,7 @@ shareon();</code></pre>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- These files are autocopied on build and will be present on the website -->
|
<!-- 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">
|
<link href="shareon.min.css" rel="stylesheet">
|
||||||
<script src="shareon.min.js" type="text/javascript"></script>
|
<script src="shareon.min.js" type="text/javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue