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