Repository navigation
Add a news item to announce v1.11 #99
Workflow file for this run
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: Build from PR | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Build site | |
| uses: omsf/static-site-tools/build/jekyll@main | |
| with: | |
| base-url: "" | |
| # TODO: add our own tests here? | |
| # - name: Test site | |
| # uses: omsf/static-site-tools/common-tests@main | |
| # with: | |
| # site-directory: _site | |
| # base-url: "" | |
| - name: Make artifact | |
| shell: bash | |
| run: tar czf site.tar.gz _site | |
| - name: Upload artifact | |
| if: ${{ github.event_name != 'schedule' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: site-build | |
| path: site.tar.gz | |
| if-no-files-found: error | |
| retention-days: 1 |