File tree Expand file tree Collapse file tree 2 files changed +11
-17
lines changed
Expand file tree Collapse file tree 2 files changed +11
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44# Runs on pushes targeting the default branch
55push :
66branches : ["main"]
7+ # Runs on pull requests targeting the default branch
8+ pull_request :
9+ branches : [ "main" ]
710
811# Allows us to run this workflow manually from the Actions tab
912workflow_dispatch :
4043 - name : Set up Pages
4144id : pages
4245uses : actions/configure-pages@v2
46+ - name : Build and test with Rake
47+ # Only run in pull requests
48+ if : github.event_name == 'pull_request'
49+ run : bundle exec rake
4350 - name : Build with Jekyll
51+ # Only run on pushes or manual runs
52+ if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
4453# Outputs to the './_site' directory by default
4554run : bundle exec jekyll build --baseurl "${{steps.pages.outputs.base_path }}"
4655env :
5160
5261# Deployment job
5362deploy :
63+ # Only run on pushes or manual runs
64+ if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
5465environment :
5566name : github-pages
5667url : ${{steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments