diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d2146812..52d89d0f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -75,4 +75,4 @@ jobs: git commit -m "Deploy: $GITHUB_SHA" git push deploy_commit=`git rev-parse HEAD` - echo "::notice::See deployment: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$deploy_commit" + echo "::notice title=New data uploaded::See deployment: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$deploy_commit" diff --git a/magic_spoiler/__main__.py b/magic_spoiler/__main__.py index 9c2474a3..ff32a358 100644 --- a/magic_spoiler/__main__.py +++ b/magic_spoiler/__main__.py @@ -643,11 +643,12 @@ def main() -> None: # Cleanup outdated stuff that's not necessary changed |= delete_old_files() - # Set output to deploy + # Enable deployment on changes (used in CI) if changed: print("::set-output name=deploy::true") else: print("::set-output name=deploy::false") + print("::notice title=No updates available::No new spoiler cards found for deployment") if __name__ == "__main__":