Skip to content

Commit

Permalink
Cambio
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelfbit committed Mar 20, 2024
1 parent 2ae2914 commit bcb368b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
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
steps:
- 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

0 comments on commit bcb368b

Please sign in to comment.