Last active
April 6, 2020 13:11
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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