Merge pull request #48 from InkApplications/list-sections #33
This file contains 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: Latest Build | |
on: | |
push: | |
branches: [master] | |
jobs: | |
tests: | |
uses: inkapplications/.github/.github/workflows/[email protected] | |
publish-site: | |
name: Publish Site | |
needs: [tests] | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
pages: write | |
steps: | |
- | |
name: Checkout | |
uses: actions/[email protected] | |
- | |
name: Configure Java | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: temurin | |
- | |
name: Build Static Sample | |
run: ./gradlew sample-web:distWeb | |
- | |
name: Upload Pages Artifact | |
uses: actions/[email protected] | |
with: | |
path: sample-web/build/dist/web | |
- | |
name: Deploy to GitHub Pages | |
uses: actions/[email protected] |