Skip to content

Commit

Permalink
build: migrate ci from Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSolati committed Jun 23, 2020
1 parent f081275 commit 52d5061
Show file tree
Hide file tree
Showing 5 changed files with 824 additions and 708 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy
on:
push
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
jobs:
deploy_to_firebase:
name: Deploy to Firebase
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: NPM Cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm install --ignore-scripts
- name: Install Firebase Tools
run: npm i -g firebase-tools
- name: Deploy
run: firebase deploy --non-interactive --token $FIREBASE_TOKEN
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

10 changes: 7 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@
}
}
}
}},
"defaultProject": "spittin-hot-geofirestore"
}
}
},
"defaultProject": "spittin-hot-geofirestore",
"cli": {
"analytics": "4e40de15-a627-4ea4-b54d-960c30de4bb6"
}
}
Loading

0 comments on commit 52d5061

Please sign in to comment.