Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
supertommy authored May 17, 2020
1 parent a6fd651 commit 0a88591
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CI

on: [push]
on:
push:
branches: master

jobs:
build:
Expand Down Expand Up @@ -35,13 +37,13 @@ jobs:
FOLDER: dist
CLEAN: true

# - name: Delete Previous latest Release
# uses: author/action-rollback@stable
# with:
# # Using a tag name
# tag: 'latest'
# env:
# GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }}
- name: Delete Previous latest Release
uses: author/action-rollback@stable
with:
# Using a tag name
tag: 'latest'
env:
GITHUB_TOKEN: ${{ secrets.GHP_TOKEN }}

- name: Create Release
id: create_release
Expand Down

0 comments on commit 0a88591

Please sign in to comment.