Skip to content

Commit

Permalink
Merge branch 'master' of github.com:KB1RD/matrix-notepad into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
KB1RD committed Jun 30, 2020
2 parents 844cdfa + 17a5ca0 commit 60d07f6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: yarn install
- run: yarn run generate
- uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
- run: zip -r dist dist/*
- uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist.zip
asset_name: dist.zip
asset_content_type: application/zip

0 comments on commit 60d07f6

Please sign in to comment.