diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index aaeb397..a15e1a2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,7 +3,7 @@ name: Hadder on: [push] jobs: - test: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 @@ -16,7 +16,7 @@ jobs: deploy: runs-on: ubuntu-latest - needs: test + needs: build if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v1 @@ -41,7 +41,7 @@ jobs: username: ${{ secrets.USERNAME }} password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} - script: /home/Bots/deploy.sh + script: /home/Bots/deploy.sh - name: Send Webhook Notification if: always() env: