Skip to content

ci: faculty update

ci: faculty update #38

name: Deploy to Firebase
on:
push:
branches:
- main
permissions: read-all
jobs:
main:
name: Build and Deploy
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy to Firebase
uses: sws2apps/firebase-deployment@main #consider using pin for dependabot auto update
with:
workloadIdentityProvider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
serviceAccount: ${{ secrets.SERVICE_ACCOUNT }}
project: github-workflow-sws
config: './firebase.json' #optional
function: true #optional & boolean
hosting: true #optional & boolean
project: 'gsunavist-b7659' #required

Check failure on line 32 in .github/workflows/firebase-hosting-pull-request.yml

View workflow run for this annotation

GitHub Actions / Deploy to Firebase

Invalid workflow file

The workflow is not valid. .github/workflows/firebase-hosting-pull-request.yml (Line: 32, Col: 11): 'project' is already defined