diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index ff2ae7c..a54c74d 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -1,8 +1,7 @@ name: GitHub Actions Demo run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 on: - push: - pull_request: + push jobs: Expressions-Actions: runs-on: ubuntu-latest @@ -10,8 +9,5 @@ jobs: - name: Només si el push que dispara el workflow és a la branca principal. if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} run: echo "PUSH A LA BRANCA MASTER" - - name: Només si el disparador és una pull request. - if: ${{ github.event_name == 'pull_request' }} - run: echo "S'HA FET UNA PULL REQUEST" - name: Descomprimeix el zip run: unzip -P ${{ secrets.ZIP_PASS }} secret.zip