Skip to content

kandangit is testing out GitHub Actions 🚀 #30

kandangit is testing out GitHub Actions 🚀

kandangit is testing out GitHub Actions 🚀 #30

name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
push:
pull_request:
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"