Create main.yml

This commit is contained in:
Kasra Bigdeli 2019-12-24 16:27:31 -05:00 committed by GitHub
parent d0284cbff4
commit b7b0cb9822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Publish One Click Apps
on:
push:
branches: [master_goes_here]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm ci && npm run build && ./publish-from-actions.sh
env:
GITHUB_PERSONAL_TOKEN: ${{secrets.GITHUB_PERSONAL_TOKEN}}