File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 92
92
- name : Generate website from markdown
93
93
shell : bash
94
94
run : |
95
+ if [ -f "${{ inputs.requirements }}" ]
96
+ then
97
+ echo "Installing python requirements from ${{ inputs.requirements }}"
98
+ pip3 install -r ${{ inputs.requirements }}
99
+ else
100
+ echo "Requirements file ${{ inputs.requirements }} does not exist"
101
+ fi
95
102
if [ "${{ inputs.debug }}" == 'true' ]
96
103
then
97
104
OPTS='-D'
@@ -105,13 +112,6 @@ runs:
105
112
echo "Getting plugins from action location: ${{ github.action_path }}"
106
113
PP=$(python3 ${{ github.action_path }}/plugin_paths.py '${{ github.action_path }}/plugins')
107
114
set -x # Show the expanded variables
108
- if [ -f "${{ inputs.requirements }}" ]
109
- then
110
- echo "Installing python requirements from ${{ inputs.requirements }}"
111
- pip3 install -r ${{ inputs.requirements }}
112
- else
113
- echo "Requirements file ${{ inputs.requirements }} does not exist"
114
- fi
115
115
python3 -B -m pelican content -e "$PP" -o ${{ inputs.tempdir }} $OPTS
116
116
117
117
- name : Check out previous branch
You can’t perform that action at this time.
0 commit comments