diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 291cb317..d4f97c52 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }} \ No newline at end of file + bash ./deploy.sh ${{ github.event.repository.name }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..6fc425dd --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +## Contributing + +Follow [default](https://github.com/NeonGamerBot-QK/.github/CONTRIBUTING.md) here.