Skip to content

Commit a83192a

Browse files
authored
Merge pull request #13108 from RasaHQ/fix/update_docs_workflow
Fix Documentation Publishing
2 parents 073876c + 85e450b commit a83192a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/documentation.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131

132132
- name: Load Poetry Cached Libraries ⬇
133133
id: cache-poetry
134-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
134+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
135135
with:
136136
path: .venv
137137
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -143,13 +143,13 @@ jobs:
143143

144144
- name: Create virtual environment
145145
if: steps.cache-poetry.outputs.cache-hit != 'true'
146-
run: python -m venv create .venv
146+
run: python -m venv .venv
147147

148148
- name: Set up virtual environment
149149
run: poetry config virtualenvs.in-project true
150150

151151
- name: Load Yarn Cached Packages ⬇
152-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
152+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
153153
with:
154154
path: docs/node_modules
155155
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -226,7 +226,7 @@ jobs:
226226
- name: Load Poetry Cached Libraries ⬇
227227
id: cache-poetry
228228
if: needs.changes.outputs.docs == 'true'
229-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
229+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
230230
with:
231231
path: .venv
232232
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
@@ -238,15 +238,15 @@ jobs:
238238

239239
- name: Create virtual environment
240240
if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-preview-docs')) && needs.changes.outputs.docs == 'true'
241-
run: python -m venv create .venv
241+
run: python -m venv .venv
242242

243243
- name: Set up virtual environment
244244
if: needs.changes.outputs.docs == 'true'
245245
run: poetry config virtualenvs.in-project true
246246

247247
- name: Load Yarn Cached Packages ⬇
248248
if: needs.changes.outputs.docs == 'true'
249-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
249+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
250250
with:
251251
path: docs/node_modules
252252
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
@@ -299,7 +299,7 @@ jobs:
299299
node-version: "12.x"
300300

301301
- name: Load Yarn Cached Packages ⬇
302-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
302+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 4.2.0
303303
with:
304304
path: docs/node_modules
305305
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}

0 commit comments

Comments
 (0)