Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "remove building step when pushed to main, only deploy documentation" #55

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CI
name: Audio CI

on:
push:
branches: [main]
pull_request:
branches: [main]

Expand Down Expand Up @@ -51,7 +53,7 @@ jobs:
!build/_deps/juce-*/

- name: Upload build artifact
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: doxygen-docs
Expand Down Expand Up @@ -85,3 +87,20 @@ jobs:

- name: Run Tests
run: ctest --preset Release

deploy:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: test
runs-on: ubuntu-latest

steps:
- name: Download Doxygen Artifacts
uses: actions/download-artifact@v4
with:
name: doxygen-docs

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
24 changes: 0 additions & 24 deletions .github/workflows/deploy.yaml

This file was deleted.