Skip to content

Instantly share code, notes, and snippets.

@kilonzi
Last active April 6, 2020 13:11
Show Gist options
  • Save kilonzi/4f7f0f360156decbfe780e0e7a258bda to your computer and use it in GitHub Desktop.
Save kilonzi/4f7f0f360156decbfe780e0e7a258bda to your computer and use it in GitHub Desktop.
This is a sample workflow file to deploy a VueJS project to Firebase.
name: DEPLOY TO STAGING
on:
push:
branches:
- develop
jobs:
firebase-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- name: Installing project dependencies
- run: npm install
- name: Building the project
- run: npm run build
- uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FirebaseDeploy }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment