Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmelon54 committed Dec 29, 2024
1 parent 61132bd commit 7272168
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]" "https://sites.1f349.com/u?site=1f349.com&branch=${{ github.ref_name }}"'

0 comments on commit 7272168

Please sign in to comment.