This commit is contained in:
@@ -5,7 +5,7 @@ ENV PYTHONUNBUFFERED 1
|
||||
WORKDIR /code/
|
||||
|
||||
# Copy only the requirements file first (Changes infrequently)
|
||||
COPY requirements.txt ./
|
||||
COPY ../../requirements.txt ./
|
||||
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip
|
||||
|
||||
@@ -2,10 +2,8 @@ name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'requirements.txt'
|
||||
issue_comment:
|
||||
types: [created]
|
||||
paths:
|
||||
- 'requirements.txt'
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
|
||||
Reference in New Issue
Block a user