mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-21 12:33:38 +00:00
Update deploy.yml (#2)
This commit is contained in:
parent
47c634006b
commit
7c506ee53a
1 changed files with 13 additions and 3 deletions
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
|
@ -1,5 +1,15 @@
|
|||
name: remote ssh command
|
||||
on: [push]
|
||||
name: Remote Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
# on code related change
|
||||
- ".github/workflows/deploy.yml"
|
||||
- "src/**"
|
||||
- "public/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -29,4 +39,4 @@ jobs:
|
|||
export REACT_APP_BUILD_SHA=${{ steps.short_sha.outputs.short_sha }}
|
||||
export REACT_APP_BUILD_ID=${{ github.run_id }}
|
||||
export REACT_APP_BUILD_NUM=${{ github.run_number }}
|
||||
bash ./deploy.sh ${{ github.event.repository.name }}
|
||||
bash ./deploy.sh ${{ github.event.repository.name }}
|
||||
|
|
Loading…
Reference in a new issue