All Projects → lowply → deploy-firebase

lowply / deploy-firebase

Licence: MIT license
A GitHub Action to deploy to Firebase Hosting

Programming Languages

shell
77523 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to deploy-firebase

setup-action
▶️ GitHub Action using Coursier to install JVM and Scala tools
Stars: ✭ 30 (-52.38%)
Mutual labels:  github-actions
github-action
CLA Assistant GitHub Action
Stars: ✭ 165 (+161.9%)
Mutual labels:  github-actions
releasezri
Meaningful and minimalist release notes for developers
Stars: ✭ 25 (-60.32%)
Mutual labels:  github-actions
add-an-issue-reference-action
A GitHub Action for adding a related issue reference to a pull request.
Stars: ✭ 19 (-69.84%)
Mutual labels:  github-actions
git-tag-action
[GitHub Action] Get ${version} from package.json and git tag ${version} for the repository.
Stars: ✭ 26 (-58.73%)
Mutual labels:  github-actions
danger-action
Execute danger action for GitHub Actions.
Stars: ✭ 24 (-61.9%)
Mutual labels:  github-actions
k8s-create-secret
GitHub Action to create Kubernetes cluster secrets
Stars: ✭ 24 (-61.9%)
Mutual labels:  github-actions
package-version-check-action
GitHub Actions to check package version before publish
Stars: ✭ 30 (-52.38%)
Mutual labels:  github-actions
check-spelling
Spelling checker action
Stars: ✭ 139 (+120.63%)
Mutual labels:  github-actions
github-stats-box
📌 Update a gist to contain your GitHub stats
Stars: ✭ 72 (+14.29%)
Mutual labels:  github-actions
shell-linter
A Github Action for ShellCheck
Stars: ✭ 58 (-7.94%)
Mutual labels:  github-actions
starter-reactnative-nestjs-mysql
Starter mobile ReactNative NestJS MySQL with continuous integration and AWS deployment
Stars: ✭ 16 (-74.6%)
Mutual labels:  github-actions
html5validator-action
GitHub Action that checks HTML5 syntax.
Stars: ✭ 27 (-57.14%)
Mutual labels:  github-actions
setup-unity
GitHub Action to download and install Unity on Ubuntu, macOS or Windows. Based on Unity Hub
Stars: ✭ 26 (-58.73%)
Mutual labels:  github-actions
Github-Android-Action
Android Github Action that builds Android project, runs unit tests and generates debug APK, builds for Github Actions hackathon
Stars: ✭ 29 (-53.97%)
Mutual labels:  github-actions
HelloActions-Qt
Qt use github-actions(Qt项目使用github的持续集成)
Stars: ✭ 103 (+63.49%)
Mutual labels:  github-actions
mysql-action
GitHub Action to setup a MySQL database
Stars: ✭ 105 (+66.67%)
Mutual labels:  github-actions
100 Days Of Go
100 days of Go learning
Stars: ✭ 24 (-61.9%)
Mutual labels:  github-actions
actions
GitHub Actions for R-hub
Stars: ✭ 18 (-71.43%)
Mutual labels:  github-actions
labeler
GitHub Action to assign labels to PRs based on configurable conditions
Stars: ✭ 47 (-25.4%)
Mutual labels:  github-actions

Deploy to Firebase

A GitHub Action to deploy to Firebase Hosting.

  • Make sure that you checkout the repository using the actions/checkout action
  • Make sure that you have the firebase.json file in the repository
  • To obtain the Firebase token, run firebase login:ci on your local computer and store the token as the FIREBASE_TOKEN secret
  • Specify the Firebase project name in the FIREBASE_PROJECT env var

Workflow examples

Deploy the main branch when a commit is pushed to it:

name: Deploy the main branch
on:
  push:
    branches:
      - main
jobs:
  main:
    name: Deploy to Firebase
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: lowply/[email protected]
      env:
        FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
        FIREBASE_PROJECT: name-of-the-project

Deploy only when a tag starts with v is pushed:

name: Deploy a tag
on:
  push:
    tags:
      - v*
jobs:
  main:
    name: Deploy to Firebase
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: lowply/[email protected]
      env:
        FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
        FIREBASE_PROJECT: name-of-the-project
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].