Skip to content

Commit

Permalink
Add GH action to publish a release
Browse files Browse the repository at this point in the history
  • Loading branch information
holyjak committed Mar 2, 2021
1 parent 0d97d27 commit a6c9389
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
release:
types: [created]
name: Publish a Release
jobs:
generate:
name: Create release-artifacts
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: ./node_modules/.bin/gulp bundle
- name: Upload the artifacts
uses: skx/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'build/ui-bundle.zip'

0 comments on commit a6c9389

Please sign in to comment.