From 69acf025dcc5b63f804253c3e5c22a3f4b72121b Mon Sep 17 00:00:00 2001 From: Tom - Henry Coursow Date: Wed, 12 Jul 2023 23:51:35 +0200 Subject: [PATCH] Update .gitea/workflows/build.yml --- .gitea/workflows/build.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 90d077d..3d7ce69 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -22,18 +22,6 @@ jobs: run: npm ci - name: Run Tests run: npm test - Deploy: - runs-on: ubuntu-latest - needs: Build - steps: - - name: Checkout Code - uses: actions/checkout@v3 - - name: Install NodeJS - uses: actions/setup-node@v3 - with: - node-version: '18' - - name: Install Dependencies - run: npm ci - name: Build run: npm run build - name: Package Artifacts @@ -47,7 +35,16 @@ jobs: with: name: dist.tar.gz path: dist.tar.gz + Deploy: + runs-on: ubuntu-latest + needs: Build + steps: + - name: Access Artifacts + uses: actions/download-artifact@v3 + with: + name: dist.tar.gz - name: Deploy run: | echo Deploying... + ls -l echo DONE! \ No newline at end of file