mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
Setup automatycznych wdrożeń
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# This file was auto-generated by the Firebase CLI
|
||||
# https://github.com/firebase/firebase-tools
|
||||
|
||||
name: Deploy to Firebase Hosting on merge
|
||||
'on':
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm ci && npm run build
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_STACJOWNIK_TD2 }}'
|
||||
channelId: live
|
||||
projectId: stacjownik-td2
|
||||
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
- run: npm ci && npm run build
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_STACJOWNIK_TD2 }}'
|
||||
projectId: stacjownik-td2
|
||||
Generated
+9
-67
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "stacjownik",
|
||||
"version": "1.8.5",
|
||||
"version": "1.9.6",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "1.8.5",
|
||||
"name": "stacjownik",
|
||||
"version": "1.9.6",
|
||||
"dependencies": {
|
||||
"core-js": "^3.12.1",
|
||||
"dotenv": "^8.6.0",
|
||||
"firebase": "^9.8.1",
|
||||
"firestore": "^1.1.6",
|
||||
"howler": "^2.2.1",
|
||||
"socket.io-client": "^4.4.1",
|
||||
"vue": "^3.2.34",
|
||||
@@ -6080,29 +6080,6 @@
|
||||
"@firebase/util": "1.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/firebase-token-generator": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/firebase-token-generator/-/firebase-token-generator-2.0.0.tgz",
|
||||
"integrity": "sha1-l2fXWewTq9yZuhFf1eqZ2Lk9EgY="
|
||||
},
|
||||
"node_modules/firestore": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/firestore/-/firestore-1.1.6.tgz",
|
||||
"integrity": "sha1-cyhLzp/psIva1sGCeNJbaW4SPMI=",
|
||||
"dependencies": {
|
||||
"firebase": "^2.1.2",
|
||||
"firebase-token-generator": "^2.0.0",
|
||||
"lodash": "^3.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/firestore/node_modules/firebase": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/firebase/-/firebase-2.4.2.tgz",
|
||||
"integrity": "sha1-ThEZ7AOWylYdinrL/xYw/qxsCjE=",
|
||||
"dependencies": {
|
||||
"faye-websocket": ">=0.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/follow-redirects": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz",
|
||||
@@ -7328,11 +7305,6 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/lodash": {
|
||||
"version": "3.10.1",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
|
||||
"integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
|
||||
},
|
||||
"node_modules/lodash.camelcase": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
|
||||
@@ -9141,9 +9113,9 @@
|
||||
"integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g=="
|
||||
},
|
||||
"node_modules/protobufjs": {
|
||||
"version": "6.11.2",
|
||||
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz",
|
||||
"integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==",
|
||||
"version": "6.11.3",
|
||||
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz",
|
||||
"integrity": "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@protobufjs/aspromise": "^1.1.2",
|
||||
@@ -16340,31 +16312,6 @@
|
||||
"@firebase/util": "1.6.0"
|
||||
}
|
||||
},
|
||||
"firebase-token-generator": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/firebase-token-generator/-/firebase-token-generator-2.0.0.tgz",
|
||||
"integrity": "sha1-l2fXWewTq9yZuhFf1eqZ2Lk9EgY="
|
||||
},
|
||||
"firestore": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/firestore/-/firestore-1.1.6.tgz",
|
||||
"integrity": "sha1-cyhLzp/psIva1sGCeNJbaW4SPMI=",
|
||||
"requires": {
|
||||
"firebase": "^2.1.2",
|
||||
"firebase-token-generator": "^2.0.0",
|
||||
"lodash": "^3.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"firebase": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/firebase/-/firebase-2.4.2.tgz",
|
||||
"integrity": "sha1-ThEZ7AOWylYdinrL/xYw/qxsCjE=",
|
||||
"requires": {
|
||||
"faye-websocket": ">=0.6.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"follow-redirects": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz",
|
||||
@@ -17263,11 +17210,6 @@
|
||||
"p-locate": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"lodash": {
|
||||
"version": "3.10.1",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
|
||||
"integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y="
|
||||
},
|
||||
"lodash.camelcase": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
|
||||
@@ -18570,9 +18512,9 @@
|
||||
"integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g=="
|
||||
},
|
||||
"protobufjs": {
|
||||
"version": "6.11.2",
|
||||
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.2.tgz",
|
||||
"integrity": "sha512-4BQJoPooKJl2G9j3XftkIXjoC9C0Av2NOrWmbLWT1vH32GcSUHjM0Arra6UfTsVyfMAuFzaLucXn1sadxJydAw==",
|
||||
"version": "6.11.3",
|
||||
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz",
|
||||
"integrity": "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==",
|
||||
"requires": {
|
||||
"@protobufjs/aspromise": "^1.1.2",
|
||||
"@protobufjs/base64": "^1.1.2",
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
"core-js": "^3.12.1",
|
||||
"dotenv": "^8.6.0",
|
||||
"firebase": "^9.8.1",
|
||||
"firestore": "^1.1.6",
|
||||
"howler": "^2.2.1",
|
||||
"socket.io-client": "^4.4.1",
|
||||
"vue": "^3.2.34",
|
||||
|
||||
Reference in New Issue
Block a user