Skip to content

Task 5 workflow

Task 5 workflow #6

Workflow file for this run

name: task-5-workflow
run-name: Task 5 workflow
on:
push
# :
# branches:
# - main
# paths:
# - "website/**"
defaults:
run:
working-directory: website
jobs:
deploy-website:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: FirebaseExtended/action-hosting-deploy@v0
id: deploy
with:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
channelId: live
projectId: ${{ variables.FIREBASE_PROJECT_ID }}

Check failure on line 25 in .github/workflows/task-5.yaml

View workflow run for this annotation

GitHub Actions / task-5-workflow

Invalid workflow file

The workflow is not valid. .github/workflows/task-5.yaml (Line: 25, Col: 22): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.FIREBASE_PROJECT_ID
entryPoint: website
- name: Get the deployment URL
run: echo "The deployment URL is ${{ steps.deploy.outputs.details_url }}"