File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 30
30
repository : davemattson/pse-outage
31
31
path : pse-outage
32
32
fetch-depth : 10
33
+
34
+ - name : Checkout the scl repository
35
+ uses : actions/checkout@v4
36
+ with :
37
+ repository : davemattson/scl-outage
38
+ path : scl-outage
39
+ fetch-depth : 10
40
+
41
+ - name : Checkout the snopud repository
42
+ uses : actions/checkout@v4
43
+ with :
44
+ repository : davemattson/snopud-outage
45
+ path : snopud-outage
46
+ fetch-depth : 10
33
47
34
48
- name : Set up Python
35
49
uses : actions/setup-python@v5
56
70
python -u expand.py -r ../pse-outage -i -o output_files -l 2 ../pse-outage/pse-events.json
57
71
python -u create_outages_dataframe.py -l -d output_files -u pse -o output_files/pse_outages_dataframe.csv
58
72
python -u analyze_current_outages.py -f output_files/pse_outages_dataframe.csv -l .5 -c 1 -e .1 -u pse --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"
73
+
74
+ - name : Run scl notifier
75
+ run : |
76
+ echo "Running SCL notifier"
77
+ pwd
78
+ python -u expand.py -r ../scl-outage -i -o output_files -l 2 ../scl-outage/scl-events.json
79
+ python -u create_outages_dataframe.py -l -d output_files -u scl -o output_files/scl_outages_dataframe.csv
80
+ python -u analyze_current_outages.py -f output_files/scl_outages_dataframe.csv -l .5 -c 1 -e .1 -u scl --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"
81
+
82
+ - name : Run snopud notifier
83
+ run : |
84
+ echo "Running snopud notifier"
85
+ pwd
86
+ python -u expand.py -r ../snopud-outage -i -o output_files -l 2 ../snopud-outage/KMLOutageAreas.xml
87
+ python -u create_outages_dataframe.py -l -d output_files -u snopud -o output_files/snopud_outages_dataframe.csv
88
+ python -u analyze_current_outages.py -f output_files/snopud_outages_dataframe.csv -l .5 -c 1 -e .1 -u snopud --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"
You can’t perform that action at this time.
0 commit comments