refactor: move scheduled_tasks service to services/ folder
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/scheduled_tasks.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/scheduled_tasks.yml
									
									
									
									
										vendored
									
									
								
							@@ -4,7 +4,7 @@ on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [main]
 | 
			
		||||
    paths:
 | 
			
		||||
      - 'scheduled_tasks/**'
 | 
			
		||||
      - 'services/scheduled_tasks/**'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  deploy:
 | 
			
		||||
@@ -24,7 +24,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          # https://github.com/docker/build-push-action/issues/378
 | 
			
		||||
          context: .
 | 
			
		||||
          file: scheduled_tasks/Dockerfile
 | 
			
		||||
          file: services/scheduled_tasks/Dockerfile
 | 
			
		||||
          push: true
 | 
			
		||||
          tags: |
 | 
			
		||||
            ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ RUN apk add go
 | 
			
		||||
 | 
			
		||||
WORKDIR /build
 | 
			
		||||
 | 
			
		||||
COPY scheduled_tasks/ /build
 | 
			
		||||
COPY services/scheduled_tasks/ /build
 | 
			
		||||
 | 
			
		||||
RUN go build .
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user