Skip to content

Commit

Permalink
Add github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
akhmadullin committed Sep 18, 2024
1 parent 5f87c95 commit 5222f78
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and deploy slides to GitHub pages

on:
push:
branches: [ develop ]

jobs:
build_test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
npm install
npm run bundle
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./bundled
18 changes: 16 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"bundle": "shower bundle",
"publish": "shower publish"
},
"dependencies": {
"@shower/core": "3.3.0",
"@shower/ribbon": "3.5.1"
},
"devDependencies": {
"@shower/cli": "0.3.1"
}
Expand Down

0 comments on commit 5222f78

Please sign in to comment.