From c5ca155cbd3f082c9297bc43c836aea7b01ae9dc Mon Sep 17 00:00:00 2001 From: Guusvanmeerveld Date: Thu, 24 Mar 2022 18:46:56 +0100 Subject: [PATCH] Added artifact upload to Github actions test --- .github/workflows/deploy.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c230ac0..afa34e2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,10 +21,21 @@ jobs: run: yarn install - name: Lint - run: yarn lint + run: yarn run lint env: NEXT_TELEMETRY_DISABLED: 1 + - name: Build website + run: yarn run export + with: + NODE_ENV: production + NEXT_TELEMETRY_DISABLED: 1 + + - uses: actions/upload-artifact@v3 + with: + name: output + path: out + pages: runs-on: ubuntu-latest needs: test