Hi, I'm @lowply. I'm a Software Engineer at GitHub. I write on lowply.github.io.
Reykjanesfólkvangur, Iceland, 2018
A GitHub Action to deploy to Firebase Hosting
License: MIT License
Hi, I'm @lowply. I'm a Software Engineer at GitHub. I write on lowply.github.io.
Reykjanesfólkvangur, Iceland, 2018
Hi,
Is there an intention to allow this action to deploy other branches?
I'd like to run npm run build
in the dir before deploying - I'm not sure I follow the repo with being able to run custom commands (including only deploying certain targets, like hosting.)
Is this a capability in this package?
There isn't that much information on how to make an env variable? It isn't a good idea to store it in a public action file (when it's NOT an env var)...
Is there a way to deploy from Tag/Release instead of the branch?
Would be cool to pass the fourth optional parameter which tells what exactly I want to deploy.
Maybe just as args string or as an array, like [hosting, functions, rules]
Greetings @lowply , I am having a challenge, setting up the build and deploy
.
The first step I did, is
firebase login:ci
and got the secret keysettings/secrets
workflows
folderHello,
I found your GitHub action on deploying to firebase. But I was unable to successfully apply this action. It keeps on failing with the response that it was unable to download lowply/build-hugo
Current runner version: '2.165.2'
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@master'
Download action repository 'lowply/[email protected]'
##[warning]Failed to download action 'https://api.github.com/repos/lowply/build-hugo/tarball/v0.0.2'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 20.766 seconds before retry.
##[warning]Failed to download action 'https://api.github.com/repos/lowply/build-hugo/tarball/v0.0.2'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 13.996 seconds before retry.
##[error]Response status code does not indicate success: 404 (Not Found).
Hello , i need to build an app with node.js, your existing action seems to work great for static files/repositories .
But i am not sure how it works with files that require node installed and setup.
`Sending build context to Docker daemon 9.216kB
Step 1/4 : FROM node:10-slim
---> 264968c6acc1
Step 2/4 : RUN npm install -g firebase-tools
---> Running in ea97db582b77
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/firebase-tools/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/DABH/diagnostics.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-22T08_20_32_745Z-debug.log
The command '/bin/sh -c npm install -g firebase-tools' returned a non-zero code: 1
##[error]Docker build failed with exit code 1`
Have targets in use for the same hosting account . so need to mention target branch for each branch. Please add the support .
Hi!
I wonder if my action setup is missing something (other than firebase.json). Where does it look for this file?
Thanks!
Instead of deploying the hosting only, would be nice to deploy all like functions, firestore, etc. You just need to remove the --only hosting
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.