diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml deleted file mode 100644 index fba354e6..00000000 --- a/.github/workflows/cleanup.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: cleanup-workflows -on: - workflow_dispatch: - push: - branches: - - master - schedule: - - cron: '0 6 * * 0' - # At 6 AM every Sunday - -jobs: - coronation: - runs-on: thevickypedia-lite - permissions: - actions: write - steps: - - name: Delete workflow runs - uses: Mattraks/delete-workflow-runs@v2 - with: - token: ${{ secrets.GIT_TOKEN }} - repository: ${{ github.repository }} - retain_days: 1 - keep_minimum_runs: 3 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 603bb58c..ad523134 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -2,13 +2,28 @@ name: pypi-publish on: release: - types: [ published ] + types: + - published + push: + branches: + - master workflow_dispatch: jobs: pypi-publisher: runs-on: thevickypedia-lite steps: + - name: Set dry-run + run: | + if [[ "${{ github.event_name }}" == "push" ]]; then + echo "::notice title=DryRun::Setting dry run to true for '${{ github.event_name }}' event" + echo "dry_run=true" >> $GITHUB_ENV + else + echo "::notice title=DryRun::Setting dry run to false for '${{ github.event_name }}' event" + echo "dry_run=false" >> $GITHUB_ENV + fi - uses: thevickypedia/pypi-publisher@v3 env: token: ${{ secrets.PYPI_TOKEN }} + with: + dry-run: ${{ env.dry_run }} diff --git a/docs/genindex.html b/docs/genindex.html index 3dbff86e..e8f7b5d2 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -409,6 +409,8 @@

C

  • connected_to_network() (in module jarvis.modules.utils.support)
  • connection_retry (jarvis.modules.models.classes.EnvConfig attribute) +
  • +
  • constructor() (in module jarvis.main)
  • contacts (jarvis.modules.models.classes.FileIO attribute)
  • @@ -527,6 +529,8 @@

    D

  • delete_todo_items() (in module jarvis.executors.todo_list)
  • delete_webhook() (in module jarvis.modules.telegram.webhook) +
  • +
  • DependencyError
  • detect_lookup_date() (in module jarvis.modules.utils.support)
  • @@ -2184,58 +2188,6 @@

    M

  • MODEL (jarvis.modules.facenet.face.FaceNet attribute)
  • -
  • model_computed_fields (jarvis.api.models.modals.CameraIndexModal attribute) - -
  • model_config (jarvis.modules.models.classes.Thermostat attribute)