Skip to content

Commit

Permalink
[SKIP] Spamfucking the github actions with if-statements to avoid PR …
Browse files Browse the repository at this point in the history
…deploys
  • Loading branch information
themkat committed Aug 1, 2024
1 parent 8ca1044 commit 41e8d1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@ jobs:
env:
JEKYLL_ENV: production
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: "always() && 'success' == needs.build.result"
if: "always() && 'success' == needs.build.result && github.event_name != 'pull_request'"
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 41e8d1e

Please sign in to comment.