fix Git repo names #58
Workflow file for this run
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: Apache Pekko Site | |
permissions: read-all | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
sbt: | |
name: Check content folder | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: 0 | |
- name: Setup Java 8 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Build Paradox | |
run: |- | |
sbt clean paradox | |
- name: Content folder up-to-date | |
run: |- | |
git diff --no-index target/paradox/site/main/ ./content/ | |
if [ $? -ne 0 ]; then | |
echo "The content folder differs from the sources. Please update the content folder" | |
exit 1 | |
else | |
echo "No differences detected. Success." | |
fi |