Skip to content

getting started: update summary page #50

getting started: update summary page

getting started: update summary page #50

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge to develop
'on':
push:
branches:
- develop
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20.9.0
- name: Build Docusaurus
run: npm install && npm run build:dev
- name: Add robots.txt for Dev site only
run: echo -e ${{ format('User-agent{0} *\\nDisallow{1} /', ':', ':') }} > build/robots.txt
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GOLIOTH }}'
channelId: live
projectId: golioth
target: docs-dev
expires: 30d
env:
FIREBASE_CLI_PREVIEWS: hostingchannels