diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-30 17:17:39 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-30 19:36:35 -0700 |
commit | 2301d8919c28eb888ea1eb968d03376b2219a27d (patch) | |
tree | a07d421848a33732844f0004d9d91e8c15c9b019 /.github/workflows/main.yml | |
parent | 1875c17aa5142d90fc03498875e195f2085d9640 (diff) | |
download | homer-2301d8919c28eb888ea1eb968d03376b2219a27d.tar.gz homer-2301d8919c28eb888ea1eb968d03376b2219a27d.tar.zst homer-2301d8919c28eb888ea1eb968d03376b2219a27d.zip |
Adding PWA icons for proper pwa support
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..792fe59 --- /dev/null +++ b/.github/workflows/main.yml | |||
@@ -0,0 +1,38 @@ | |||
1 | # Publish pre-build release | ||
2 | name: Upload Release Asset | ||
3 | |||
4 | on: | ||
5 | push: | ||
6 | branches: [master] | ||
7 | |||
8 | jobs: | ||
9 | build: | ||
10 | name: Upload Release Asset | ||
11 | runs-on: ubuntu-latest | ||
12 | steps: | ||
13 | - uses: actions/checkout@v2 | ||
14 | - name: Build project | ||
15 | run: | | ||
16 | yarn install | ||
17 | yarn build | ||
18 | zip --junk-paths homer dist/* | ||
19 | - name: Create Release | ||
20 | id: create_release | ||
21 | uses: actions/create-release@v1 | ||
22 | env: | ||
23 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
24 | with: | ||
25 | tag_name: ${{ github.run_id }} | ||
26 | release_name: Release ${{ github.run_id }} | ||
27 | draft: false | ||
28 | prerelease: false | ||
29 | - name: Upload Release Asset | ||
30 | id: upload-release-asset | ||
31 | uses: actions/upload-release-asset@v1 | ||
32 | env: | ||
33 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
34 | with: | ||
35 | upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
36 | asset_path: ./homer.zip | ||
37 | asset_name: homer.zip | ||
38 | asset_content_type: application/zip | ||