]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
build: fix browserstack-runner config 12032/head
authorDaniel Ruf <mac1@daniel-ruf.de>
Sat, 28 Mar 2020 20:54:45 +0000 (21:54 +0100)
committerDaniel Ruf <mac1@daniel-ruf.de>
Sat, 28 Mar 2020 21:40:03 +0000 (22:40 +0100)
Set the config fields to the env variables if provided.

.github/workflows/main.yml

index ec57c6c331bddaef3a8e2ff647345e9f1f4db104..839404643f314f2587bc26f3f1238d36dd9cbfbb 100644 (file)
@@ -44,4 +44,7 @@ jobs:
       - name: install dependencies
         run: yarn
       - name: run tests with browserstack
+        env: # Or as an environment variable
+          BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }}
+          BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
         run: yarn test:javascript:browserstack
\ No newline at end of file