Skip to content

Commit de39c8b

Browse files
🐛 fix(github/workflows): fix pa11y setup
1 parent 5241aa7 commit de39c8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/pa11y.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ jobs:
2525
- name: Install Dependencies
2626
run: yarn install --frozen-lockfile
2727

28+
- name: Create .env file
29+
run: |
30+
touch .env
31+
echo CONTENTFUL_ENDPOINT=${{ secrets.CONTENTFUL_ENDPOINT }} >> .env
32+
echo CONTENTFUL_SCHEMA=${{ secrets.CONTENTFUL_SCHEMA }} >> .env
33+
echo CONTENTFUL_TOKEN=${{ secrets.CONTENTFUL_TOKEN }} >> .env
34+
2835
- name: Build Next App
2936
run: yarn build
3037

0 commit comments

Comments
 (0)