Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
ci: added release creation scripts
Browse files Browse the repository at this point in the history
re #30
  • Loading branch information
victor-pogor committed Nov 30, 2020
1 parent 7baacdb commit 4ae07fb
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- master
- dev
jobs:
deploy-blog:
name: Deploying the static pages to the FTP server
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "pre-release"
on:
push:
branches:
- master
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: 'CodeIT'
fetch-depth: 0
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "tagged-release"
on:
push:
tags:
- "v*"
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: 'CodeIT'
fetch-depth: 0
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
30 changes: 30 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ae07fb

Please sign in to comment.