Skip to content

Commit

Permalink
Merge pull request #26 from Yuriy-Solodovnik/feature/hooks
Browse files Browse the repository at this point in the history
Feature/hooks
  • Loading branch information
Yuriy-Solodovnik authored May 4, 2021
2 parents 80f36c8 + 2e9d3bb commit 20bd76f
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: node_js
node_js:
- 11.13.0
script:
- npm install --global workbox-cli
- workbox generateSW workbox-config.js
deploy:
- provider: s3
skip_cleanup: true
access_key_id: $ACCESS_KEY_ID
secret_access_key: $SECRET_ACCESS_KEY
bucket: ________-staging
region: eu-central-1
acl: public_read
on:
branch: develop
- provider: s3
skip_cleanup: true
access_key_id: $ACCESS_KEY_ID
secret_access_key: $SECRET_ACCESS_KEY
bucket: ________-production
region: eu-central-1
acl: public_read
on:
branch: main
3 changes: 3 additions & 0 deletions now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "homepage"
}
2 changes: 2 additions & 0 deletions sw.js

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

1 change: 1 addition & 0 deletions sw.js.map

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

2 changes: 2 additions & 0 deletions workbox-86d6cfa2.js

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

1 change: 1 addition & 0 deletions workbox-86d6cfa2.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions workbox-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
"globDirectory": "./",
"globPatterns": [
"**/*.{png,svg,ico,jpg,mp3,css,html}"
],
"swDest": "sw.js"
};

0 comments on commit 20bd76f

Please sign in to comment.