From 9db47f5bc86b5e500af52a7933a88ca3cc2aa6a1 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 7 Jun 2024 09:48:47 +0000 Subject: [PATCH] removed workflow and cronjob as it is updated through git --- .gitea/workflows/build-all-prod.yaml | 50 ---------------------------- scrapers/cronjob | 2 -- 2 files changed, 52 deletions(-) delete mode 100644 .gitea/workflows/build-all-prod.yaml delete mode 100644 scrapers/cronjob diff --git a/.gitea/workflows/build-all-prod.yaml b/.gitea/workflows/build-all-prod.yaml deleted file mode 100644 index f6b64bd..0000000 --- a/.gitea/workflows/build-all-prod.yaml +++ /dev/null @@ -1,50 +0,0 @@ -name: Build and Push Docker Images - -on: - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - - services: - docker: - image: docker:19.03.12 - options: --privileged - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Gitea - uses: docker/login-action@v3 - with: - registry: gitea.rannes.dev - username: christian - password: ${{ secrets.REGISTRY_TOKEN }} - - - name: Build and push Flask API image - uses: docker/build-push-action@v5 - with: - context: ./api - push: true - tags: gitea.rannes.dev/rannes.dev/sw-jobs-api:latest - - # - name: Build and push Svelte client image - # uses: docker/build-push-action@v5 - # with: - # context: ./client - # push: true - # tags: gitea.rannes.dev/rannes.dev/sw-jobs-client:latest - - - name: Build and push scraper image - uses: docker/build-push-action@v5 - with: - context: ./scrapers - push: true - tags: gitea.rannes.dev/rannes.dev/sw-jobs-scraper:latest diff --git a/scrapers/cronjob b/scrapers/cronjob deleted file mode 100644 index 566eb14..0000000 --- a/scrapers/cronjob +++ /dev/null @@ -1,2 +0,0 @@ -# Run the jobindex.py script every hour -0 * * * * python ~/sw-jobs-1/scrapers/jobindex.py >> /var/log/cron.log 2>&1