mirror of
https://github.com/godotengine/godot-prs-by-file.git
synced 2025-12-31 21:48:29 +03:00
CI: Run build on PR (but not deploy)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -3,6 +3,7 @@ name: Continuous integration
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
# Run every 15 minutes of every hour, starting at 5 minutes (5m, 20m, 35m, 50m).
|
# Run every 15 minutes of every hour, starting at 5 minutes (5m, 20m, 35m, 50m).
|
||||||
# The slight offset is there to try and avoid the high load times.
|
# The slight offset is there to try and avoid the high load times.
|
||||||
@@ -52,6 +53,7 @@ jobs:
|
|||||||
path: out
|
path: out
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages 🚀
|
- name: Deploy to GitHub Pages 🚀
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
|||||||
Reference in New Issue
Block a user