aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-03-02 07:00:55 +0100
committerFlorian Merz <me@fiji-flo.de>2021-03-02 07:11:28 +0100
commitf137a71f1cedf4ea6a9be0904c41973f1042ebca (patch)
tree57709e5cb818b0258a222ca8f1f8b0c1fa817b0d /.github
parent68787f64f7b610aeb5d961e8bfb63dff94a0b684 (diff)
downloadtranslated-content-f137a71f1cedf4ea6a9be0904c41973f1042ebca.tar.gz
translated-content-f137a71f1cedf4ea6a9be0904c41973f1042ebca.tar.bz2
translated-content-f137a71f1cedf4ea6a9be0904c41973f1042ebca.zip
casing
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pr-check_redirects.yml4
-rw-r--r--.github/workflows/pr-test.yml10
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/pr-check_redirects.yml b/.github/workflows/pr-check_redirects.yml
index 5405d26528..3320a4743e 100644
--- a/.github/workflows/pr-check_redirects.yml
+++ b/.github/workflows/pr-check_redirects.yml
@@ -43,8 +43,8 @@ jobs:
- name: Check redirects file(s)
env:
- content_root: ${{ github.workspace }}/mdn/content/files
- content_translated_root: ${{ github.workspace }}/files
+ CONTENT_ROOT: ${{ github.workspace }}/mdn/content/files
+ CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/files
working-directory: ${{ github.workspace }}/mdn/content
run: |
yarn content validate-redirects --strict
diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml
index 52c38a8de0..af6fada9aa 100644
--- a/.github/workflows/pr-test.yml
+++ b/.github/workflows/pr-test.yml
@@ -39,7 +39,7 @@ jobs:
with:
path: |
{{ github.workspace }}/mdn/content/node_modules
- key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
+ key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-1
- name: Install all yarn packages
if: steps.cached-node_modules.outputs.cache-hit != 'true'
@@ -56,8 +56,8 @@ jobs:
- name: Build changed content
if: ${{ env.GIT_DIFF_CONTENT }}
env:
- content_root: ${{ github.workspace }}/mdn/content/files
- content_translated_root: ${{ github.workspace }}/files
+ CONTENT_ROOT: ${{ github.workspace }}/mdn/content/files
+ CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/files
working-directory: ${{ github.workspace }}/mdn/content
run: |
echo ${{ env.GIT_DIFF_CONTENT }}
@@ -116,8 +116,8 @@ jobs:
- name: Check changed files
if: ${{ env.GIT_DIFF_FILES }}
env:
- content_root: ${{ github.workspace }}/mdn/content/files
- content_translated_root: ${{ github.workspace }}/files
+ CONTENT_ROOT: ${{ github.workspace }}/mdn/content/files
+ CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/files
working-directory: ${{ github.workspace }}/mdn/content
run: |
echo ${{ env.GIT_DIFF_FILES }}