stremio-web/.github/workflows/build.yml
2020-01-20 12:53:51 +02:00

28 lines
671 B
YAML

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: |
echo -e "[url \"https://github.com/\"]\n\tinsteadOf = ssh://git@github.com/" > ~/.gitconfig
yarn install && yarn build
- uses: actions/upload-artifact@v1
with:
name: stremio-web
path: dist
- name: Create Release
id: create-release
uses: actions/create-release@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false