Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
a3510377 committed Oct 23, 2022
1 parent 9ecec17 commit 1222673
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,25 @@ jobs:
- name: build
run: yarn start

- name: build zip
run: zip -r resources resources/* || echo "build to zip error"

- name: upload Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
tag: latest
artifacts: "resources.zip"

- name: make assets data
run: |
mkdir dist
cp -R ./resources ./dist
cd assets
cp ./emoji-code.json ../resources
cp ./emoji-checkId.json ../resources
cp ./emoji-code.json ../dist
cp ./emoji-checkId.json ../dist
- name: deploy
run: |
Expand Down

0 comments on commit 1222673

Please sign in to comment.