From ef92ebca327e27b051ba0a5687b953142b4eb7ee Mon Sep 17 00:00:00 2001 From: Joellensilva Date: Thu, 16 Jan 2025 12:36:39 -0300 Subject: [PATCH] github.event_name == 'workflow_dispatch' --- .github/workflows/dump.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/dump.yaml b/.github/workflows/dump.yaml index 58c0ecd..6f66160 100644 --- a/.github/workflows/dump.yaml +++ b/.github/workflows/dump.yaml @@ -6,9 +6,6 @@ on: schedule: - cron: "0 3 17 * *" - cron: "0 3 2 * *" - push: - branches: - - "dump-workflow-dispatch" jobs: Atualizar-media-por-membro: @@ -21,7 +18,7 @@ jobs: run: PGPASSWORD=${{ secrets.POSTGRES_PASSWORD }} psql -h "${{ secrets.POSTGRES_HOST }}" -U ${{ secrets.POSTGRES_USER }} -d ${{ secrets.POSTGRES_DB }} -c "REFRESH MATERIALIZED VIEW media_por_membro;" Dump: - if: github.event.schedule == '0 3 17 * *' || github.event_name == 'push' + if: github.event.schedule == '0 3 17 * *' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-20.04 env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}