diff --git a/.firebase/hosting.ZGlzdC9hcHBzL2RlbW8.cache b/.firebase/hosting.ZGlzdC9hcHBzL2RlbW8.cache new file mode 100644 index 0000000..c1b95a4 --- /dev/null +++ b/.firebase/hosting.ZGlzdC9hcHBzL2RlbW8.cache @@ -0,0 +1,26 @@ +index.html,1630403764380,099ee3fac125dd864e36879c8a9ae34c859a2833222ecf7da7e75469a0bd6c86 +runtime-es2015.js.map,1630403739665,a474eaf7ff39f87be2737e441a51aede2471fa9c47eb421256eb868b9f63bafe +runtime-es5.js,1630403739673,bbb97d26905f56b2d10263b0fc474568c884cab9c2dcee356996c419c5d19c9a +runtime-es5.js.map,1630403739673,4fc97ed988e34aa2015afb1fceda26f9586a891a80ee4b1a0e99776151af939b +runtime-es2015.js,1630403739669,778efff3dc564fbddc7a87abf0f089c5ac0e9e31cdd79ce022dec82b1f054ab9 +assets/css/glyphicons.css,1630403764360,1ff34c9b0ce0aea2f4586fe3792329746465f417fc1f992b11e528e1fb5183c6 +assets/css/prettify-angulario.css,1630403764360,f7ccd49220579ea12997a1aa7d8d0b2909037bd5b24495210f76ba02394f7f08 +assets/css/style.css,1630403764360,55fd44c66ffc0932fc718ec21142895cb511d9fb368e05eaf0694efe8b7ed647 +assets/js/prettify.min.js,1630403764360,6e52f3166784c6f1b5476ddb0fc85369f63d9d311421716f92b110949b7e5cf7 +main-es2015.js,1630403741161,f689221c97ad505cb22783dead50baf447051aaad5e6b41750bdb41225d2b955 +main-es5.js,1630403741157,7d067afa227d37b050e5d4b84d0acc093b3d5f2f45e3bc145336ca694f0c3f3c +assets/fonts/glyphicons-halflings-regular.eot,1630403764360,a4cb49ee9cfd245c45b704d6f1b04f0d7a924276ed4e2099664b737e5d78df30 +assets/fonts/glyphicons-halflings-regular.ttf,1630403764360,b2c9eb414ad0e9f3b46ccf9b1ca6ae0912b6e8ee75d1b81cebf21265fcfc6487 +assets/fonts/glyphicons-halflings-regular.woff,1630403764360,dd00f14e1eb1196b2d59e3e67cee55e2578bc3a03c1c5ef18e1427003d629bed +assets/fonts/glyphicons-halflings-regular.woff2,1630403764360,e671660b60a1a7cf0cda2155eb74ab5a33c90a423142e8a1cbca286ca9babbf5 +main-es2015.js.map,1630403741157,58717d7ca314d04d20e83e1c8f485f5197358f9796990b6539e65996a6d1410f +main-es5.js.map,1630403741153,1521549a9f5b4e941c3e1597b3e6a888923bbe240117c13e67b36cf7cb7a79a6 +polyfills-es2015.js.map,1630403739629,db127975ed302c149572d7b12401e02091c74da88903244d0c970e22ad9a3f3a +polyfills-es2015.js,1630403739629,b9cbf7aad284ebac89392c9d4e04f21e92f82f9941be2e259c98d86168da0d9f +assets/fonts/glyphicons-halflings-regular.svg,1630403764360,d345959a9026302c6b334384c0be26833b47e69210a0d7b702a916733cba81f3 +polyfills-es5.js,1630403742633,1fe61cfff1efd69c4aa5d9a33c6cc1aec48698fdecee0bd8bff0c094c3d51ac3 +polyfills-es5.js.map,1630403742629,0485179f2dbdfe463484b0c14f2279079726305131b6bf14428d76f4b4d9d39a +vendor-es2015.js,1630403764336,85e9d5d93095d2f9cf91563755ad8bebe25c97f3e6778eb5fd9a6548dd44e329 +vendor-es2015.js.map,1630403764192,385a91c756383edf9ec95d87ac1d80dead2041ec6f39f0df3be4f668f65a39c4 +vendor-es5.js,1630403764096,2ffbb8e248ecef606202920064ff14e3b301bb029a7880fdca6a58c79d67463e +vendor-es5.js.map,1630403764036,434226341b3d337f6f28c30a3d30b810f537c570147a0fe652af06f6cab0323a diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..90289ef --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "ngx-file-upload" + } +} diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml new file mode 100644 index 0000000..52e0ce6 --- /dev/null +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -0,0 +1,16 @@ +# This file was auto-generated by the Firebase CLI +# https://github.com/firebase/firebase-tools + +name: Deploy to Firebase Hosting on PR +'on': pull_request +jobs: + build_and_preview: + if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NGX_FILE_UPLOAD }}' + projectId: ngx-file-upload diff --git a/.github/workflows/on-push-or-pull.yml b/.github/workflows/on-push-or-pull.yml index 59606f3..4bfde60 100644 --- a/.github/workflows/on-push-or-pull.yml +++ b/.github/workflows/on-push-or-pull.yml @@ -86,3 +86,32 @@ jobs: path: ${{ env.CACHE_NODE_MODULES_PATH }} key: node_modules-${{ hashFiles('**/package-lock.json') }} - run: npm run lint + + # firebase preview + build_and_preview: + runs-on: ubuntu-latest + needs: build + outputs: + output_url: ${{ steps.firebase_hosting_preview.outputs.details_url }} + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: ${{ env.CACHE_DIST_PATH }} + key: dist-${{ github.run_id }} + - uses: FirebaseExtended/action-hosting-deploy@v0 + continue-on-error: true + id: firebase_hosting_preview + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NGX_BOOTSTRAP_DEMO }}' + projectId: ngx-bootstrap-demo + channelId: ${{ env.FIREBASE_CHANNEL }} + expires: 7d + +# - uses: actions/checkout@v2 +# - uses: FirebaseExtended/action-hosting-deploy@v0 +# with: +# repoToken: '${{ secrets.GITHUB_TOKEN }}' +# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NGX_FILE_UPLOAD }}' +# projectId: ngx-file-upload diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..e5df2ac --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "./dist/apps/demo/", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "index.html" + } + ] + } +} diff --git a/https:/github.com/valor-software/ng2-file-upload/index.html b/https:/github.com/valor-software/ng2-file-upload/index.html new file mode 100644 index 0000000..75ab48b --- /dev/null +++ b/https:/github.com/valor-software/ng2-file-upload/index.html @@ -0,0 +1,89 @@ + + + + + + Welcome to Firebase Hosting + + + + + + + + + + + + + + + + + + + +
+

Welcome

+

Firebase Hosting Setup Complete

+

You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

+ Open Hosting Documentation +
+

Firebase SDK Loading…

+ + + +