Skip to content

Commit

Permalink
[Chore] Updated .dockerignore, sonarqube and deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
RJMurg committed Aug 11, 2024
1 parent 9aa78a7 commit 613bae2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log*
.github
.gitignore
.gitattributes
.dockerignore
.editorconfig
15 changes: 15 additions & 0 deletions .github/workflows/deploy-to-vps.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
name: Deploy main to Huey-Dewey-Louie

on:
workflow_run:
workflows: ["SonarQube"]
types:
- completed
push:
branches:
- main
paths-ignore:
- '.github/**'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
- 'yarn.lock'
- 'package-lock.json'
- 'sonar-project.properties'
- 'README.md'
- 'docs/**'

jobs:
build-and-deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: SonarQube

on:
push:
Expand Down

0 comments on commit 613bae2

Please sign in to comment.