removed workflow and cronjob as it is updated through git

This commit is contained in:
Christian 2024-06-07 09:48:47 +00:00
parent f542ff8aa2
commit 9db47f5bc8
2 changed files with 0 additions and 52 deletions

View File

@ -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

View File

@ -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