Skip to content

Commit cb85fae

Browse files
committed
Workflow Dispatch Events
* Adds workflow dispatch events for deployments.
1 parent 37a03e1 commit cb85fae

4 files changed

Lines changed: 19 additions & 20 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- 'dev-v*'
77
- 'releases/v*'
88
pull_request:
9-
# The branches below must be a subset of the branches above
109
branches:
1110
- dev
1211
- 'dev-v*'
@@ -22,28 +21,11 @@ jobs:
2221
- name: Checkout repository
2322
uses: actions/checkout@v2
2423

25-
# Initializes the CodeQL tools for scanning.
2624
- name: Initialize CodeQL
2725
uses: github/codeql-action/init@v1
28-
# Override language selection by uncommenting this and choosing your languages
29-
# with:
30-
# languages: go, javascript, csharp, python, cpp, java
3126

32-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
33-
# If this step fails, then you should remove it and run the build manually (see below)
3427
- name: Autobuild
3528
uses: github/codeql-action/autobuild@v1
3629

37-
# ℹ️ Command-line programs to run using the OS shell.
38-
# 📚 https://git.io/JvXDl
39-
40-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
41-
# and modify them (or add more) to build your code if your project
42-
# uses a compiled language
43-
44-
#- run: |
45-
# make bootstrap
46-
# make release
47-
4830
- name: Perform CodeQL Analysis
4931
uses: github/codeql-action/analyze@v1

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy Code to Release Branch
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
build:
7+
name: Push to Release Branch
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
13+
- name: Deploy 🚀
14+
uses: JamesIves/github-pages-deploy-action@4.0.0
15+
with:
16+
branch: releases/v4-beta
17+
folder: .

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
build:
12-
name: Build production
12+
name: Build Production
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
registry-url: 'https://registry.npmjs.org'
1919
scope: '@jamesives'
2020

21-
- name: Configure git
21+
- name: Configure Git
2222
run: |
2323
git config user.email "iam@jamesiv.es"
2424
git config user.name "James Ives"

0 commit comments

Comments
 (0)