File tree Expand file tree Collapse file tree 3 files changed +19
-28
lines changed Expand file tree Collapse file tree 3 files changed +19
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2828 tag_name : ${{ steps.changelog.outputs.tag }}
2929 release_name : ${{ steps.changelog.outputs.tag }}
3030 body : ${{ steps.changelog.outputs.clean_changelog }}
31+
32+ - name : Setup Node
33+ if : ${{ steps.changelog.outputs.skipped == 'false' }}
34+ 35+ with :
36+ node-version : ' 12.x'
37+
38+ - name : Install and Build
39+ if : ${{ steps.changelog.outputs.skipped == 'false' }}
40+ run : |
41+ npm ci
42+ npm run build
43+ - name : Deploy
44+ uses : peaceiris/actions-gh-pages@v3
45+ with :
46+ github_token : ${{ secrets.GITHUB_TOKEN }}
47+ publish_dir : ./build
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ const update = () => {
1818requestAnimationFrame ( update ) ;
1919
2020const highlightButtons = document . querySelectorAll ( '[data-pointer-type="highlight"]' ) ;
21- const liftButtons = document . querySelectorAll ( '[data-pointer-type="lift"]' ) ;
22- const contentBlocks = document . querySelectorAll ( '[data-pointer-type="content"]' ) ;
2321
2422highlightButtons . forEach ( ( highlightButton ) => {
2523 highlightButton . addEventListener ( 'mouseenter' , ( e ) => {
@@ -33,6 +31,7 @@ highlightButtons.forEach((highlightButton) => {
3331 } ) ;
3432} ) ;
3533
34+ const liftButtons = document . querySelectorAll ( '[data-pointer-type="lift"]' ) ;
3635liftButtons . forEach ( ( liftButton ) => {
3736 liftButton . addEventListener ( 'mouseenter' , ( e ) => {
3837 const element = e . currentTarget as HTMLElement ;
@@ -45,6 +44,7 @@ liftButtons.forEach((liftButton) => {
4544 } ) ;
4645} ) ;
4746
47+ const contentBlocks = document . querySelectorAll ( '[data-pointer-type="content"]' ) ;
4848contentBlocks . forEach ( contentBlock => {
4949 contentBlock . addEventListener ( 'mouseenter' , ( e ) => {
5050 const element = e . currentTarget as HTMLElement ;
You can’t perform that action at this time.
0 commit comments