From 7272168b9123c8a6109e535e952400a0fce58856 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Sun, 1 Dec 2024 00:00:28 +0000 Subject: [PATCH] Update build workflow --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8c041c..243634c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,13 +10,11 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - - run: sudo wget 'https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64' -O /usr/bin/yq - - name: Build - run: ./compile.sh + run: yarn && yarn build - name: Archive - run: tar -czvf upload.tar.gz -C ./build . + run: tar -czvf upload.tar.gz -C ./dist . - name: Release run: 'curl --fail -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.com/u?site=1f349.com&branch=${{ github.ref_name }}"'