Add support for templated common prompt #163
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 Firebase Hosting staging on merge | |
'on': | |
push: | |
branches: | |
- master | |
jobs: | |
release_and_deploy_to_staging: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: 'Automated Version Bump' | |
uses: 'phips28/gh-action-bump-version@master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
version-type: 'patch' | |
- name: Build | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
- run: npm install | |
- run: npm run build | |
- run: npm test | |
- name: Firebase deploy to staging | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SD_PARSEQ }}' | |
channelId: staging | |
projectId: sd-parseq |