-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26e70b1
commit d0c944b
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|