1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

fix Create release action

This commit is contained in:
lana-k
2020-11-10 18:53:42 +01:00
parent a5ba1cb821
commit e08fdbecbc
2 changed files with 7 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ jobs:
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
@@ -20,6 +20,12 @@ jobs:
npm install npm install
npm run build npm run build
- name: Create release
uses: ncipollo/release-action@v1
with:
artifact: "dist"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.6.2 uses: JamesIves/github-pages-deploy-action@3.6.2
with: with:

View File

@@ -1,23 +0,0 @@
name: Create Release
on:
push:
tags:
- '*'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false