Skip to content

ci: add actionlint pre-commit hook (#615) #109

ci: add actionlint pre-commit hook (#615)

ci: add actionlint pre-commit hook (#615) #109

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build_and_deploy:
if: github.repository == 'NextCommunity/NextCommunity.github.io'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@500ac625ca2dd40cbd15f7659af953801858032a # v0.11.0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_NEXTCOMMUNITY_EEA10 }}
channelId: live
projectId: nextcommunity-eea10