Skip to content

Commit

Permalink
testing ci with if statement (#5)
Browse files Browse the repository at this point in the history
it works
  • Loading branch information
GuillermoFidalgo authored Mar 12, 2024
1 parent e3ebbcd commit 5d31d2c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@ jobs:
# Deployment job
deploy:
name: Deploy Site
needs: build
runs-on: ubuntu-latest

if: github.event_name == 'push'

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build

steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 5d31d2c

Please sign in to comment.