Update deploy.yml (#2)

This commit is contained in:
Saahil dutta 2024-09-06 12:36:27 -04:00 committed by GitHub
parent 47c634006b
commit 7c506ee53a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,15 @@
name: remote ssh command name: Remote Deploy
on: [push]
on:
push:
branches:
- main
paths:
# on code related change
- ".github/workflows/deploy.yml"
- "src/**"
- "public/**"
workflow_dispatch:
jobs: jobs:
@ -29,4 +39,4 @@ jobs:
export REACT_APP_BUILD_SHA=${{ steps.short_sha.outputs.short_sha }} export REACT_APP_BUILD_SHA=${{ steps.short_sha.outputs.short_sha }}
export REACT_APP_BUILD_ID=${{ github.run_id }} export REACT_APP_BUILD_ID=${{ github.run_id }}
export REACT_APP_BUILD_NUM=${{ github.run_number }} export REACT_APP_BUILD_NUM=${{ github.run_number }}
bash ./deploy.sh ${{ github.event.repository.name }} bash ./deploy.sh ${{ github.event.repository.name }}