Build - Fix syntax in container build test (#1050)

pull/1045/head^2
dgtlmoon 2 years ago committed by GitHub
parent 0394a56be5
commit 492bbce6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,17 @@
name: ChangeDetection.io Container Build Test name: ChangeDetection.io Container Build Test
# Triggers the workflow on push or pull request events # Triggers the workflow on push or pull request events
on: [push, pull_request]
# This line doesnt work, even tho it is the documented one
#on: [push, pull_request]
on:
push:
paths:
- requirements.txt
- Dockerfile
pull_request:
paths: paths:
- requirements.txt - requirements.txt
- Dockerfile - Dockerfile

@ -64,6 +64,7 @@ EXPOSE 5000
# The actual flask app # The actual flask app
COPY changedetectionio /app/changedetectionio COPY changedetectionio /app/changedetectionio
# The eventlet server wrapper # The eventlet server wrapper
COPY changedetection.py /app/changedetection.py COPY changedetection.py /app/changedetection.py

@ -1,8 +1,8 @@
flask~= 2.0 flask ~= 2.0
flask_wtf flask_wtf
eventlet>=0.31.0 eventlet >= 0.31.0
validators validators
timeago ~=1.0 timeago ~= 1.0
inscriptis ~= 2.2 inscriptis ~= 2.2
feedgen ~= 0.9 feedgen ~= 0.9
flask-login ~= 0.5 flask-login ~= 0.5
@ -47,3 +47,4 @@ selenium ~= 4.1.0
werkzeug ~= 2.0.0 werkzeug ~= 2.0.0
# playwright is installed at Dockerfile build time because it's not available on all platforms # playwright is installed at Dockerfile build time because it's not available on all platforms

Loading…
Cancel
Save