Skip to content

Commit

Permalink
Add site build action
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneeVandervelde committed Aug 17, 2024
1 parent 26e70b1 commit d0c944b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/pushes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,26 @@ on:
jobs:
tests:
uses: inkapplications/.github/.github/workflows/[email protected]
publish-site:
name: Publish Site
needs: [tests]
runs-on: ubuntu-latest
steps:
-
name: Build Static Sample
run: ./gradlew sample-web:buildStatic sample-web:assemble
-
name: Create Deploy Directory
run: |
mkdir -p build/pages
cp -r sample-web/build/static/* build/pages/
cp -r sample-web/build/dist/js/productionExecutable/* build/pages/
mv build/pages/sample.html build/pages/index.html
-
name: Upload Pages Artifact
uses: actions/[email protected]
with:
path: build/pages
-
name: Deploy to GitHub Pages
uses: actions/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
tests:
name: Test
uses: inkapplications/.github/.github/workflows/[email protected]
publish:
publish-maven:
name: Publish to Maven Central
needs: [tests]
secrets: inherit
Expand Down

0 comments on commit d0c944b

Please sign in to comment.