docs: add project documentation and contributing guidelines #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Analytics Pipeline | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| pipeline: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build and run pipeline | |
| run: | | |
| docker compose build | |
| docker compose run analytics | |
| - name: Upload DuckDB database | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: analytics-db | |
| path: data/analytics.db | |
| if-no-files-found: error | |
| - name: Upload dbt artifacts | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: dbt-artifacts | |
| path: target/ | |
| if-no-files-found: error |