Skip to content

Task 5 workflow

Task 5 workflow #7

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: ${{ vars.FIREBASE_PROJECT_ID }}
entryPoint: website
- name: Get the deployment URL
run: echo "The deployment URL is ${{ steps.deploy.outputs.details_url }}"