From 6b76ae60bde0f8a8421b64fb0458f4d099a868f5 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Mon, 22 Jan 2024 15:25:13 -0500 Subject: [PATCH] Updates to workflow files. --- .github/workflows/build-deploy.yml | 11 ++++++++--- .github/workflows/build.yml | 4 +--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 0aae8f0..64c2390 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -43,6 +43,11 @@ jobs: local-identifier: random - name: Run BrowserStack tests - run: | - set -xeuo pipefail - cd tests + run: yarn test-bslocal -e default,firefox,edge,safari -o reports + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: dist + ssh-key: ${{ secrets.DEPLOY_KEY }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a21453..6886c12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,9 +44,7 @@ jobs: local-identifier: random - name: Run BrowserStack tests - run: | - set -xeuo pipefail - cd tests + run: yarn test-bslocal -e default,firefox,edge,safari -o reports - name: 'BrowserStackLocal Stop' # Terminating the BrowserStackLocal tunnel connection uses: browserstack/github-actions/setup-local@master