From baa80c3ca0e5ae70a0e2e54196ba8b7542696c43 Mon Sep 17 00:00:00 2001 From: Lysquid Date: Tue, 19 Sep 2023 18:54:00 +0200 Subject: [PATCH] clean workflows --- .github/workflows/certificate.yml | 18 ------------------ .github/workflows/deploy.yml | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 .github/workflows/certificate.yml diff --git a/.github/workflows/certificate.yml b/.github/workflows/certificate.yml deleted file mode 100644 index 5203629..0000000 --- a/.github/workflows/certificate.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Renew SSL certificate - -on: - schedule: - - cron: '0 4 * * *' - workflow_dispatch: - -jobs: - certificate: - runs-on: [self-hosted, linux] - environment: Production - steps: - - uses: actions/checkout@v3 - - name: Run certbot - run: docker compose up certbot - env: - EMAIL: ${{ vars.EMAIL }} - SITE_URL: ${{ vars.SITE_URL }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b3a5c8a..f15bb7e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,7 +33,7 @@ jobs: needs: pre steps: - name: Migrate database - run: docker compose run app python manage.py migrate + run: docker compose run --rm app python manage.py migrate post: uses: Lysquid/ClubBDManga/.github/workflows/dump.yml@main secrets: