-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #912 from KBVE/dev
Staging refs/heads/dev into Main
- Loading branch information
Showing
8 changed files
with
397 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
# Branches | ||
#push: | ||
# branches: ["dev*"] | ||
|
||
jobs: | ||
pull-request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: pull-request | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: dev | ||
|
||
- name: auto-deploy | ||
uses: diillson/[email protected] | ||
with: | ||
source_branch: "dev" | ||
destination_branch: "main" | ||
pr_title: "Staging ${{ github.ref }} into Main" | ||
pr_body: | | ||
:crown: *An automated PR* | ||
Pulling Dev branches into Main for release. | ||
- - - | ||
For Support, please visit [KBVE Support](https://kbve.com/support/) | ||
- - - | ||
For Git References, please visit [KBVE Git Application Reference](https://kbve.com/application/git/) | ||
- - - | ||
For Project Information, please visit [KBVE Projects Information](https://kbve.com/project/) | ||
- - - | ||
Preparing the stage. | ||
name: Release | ||
|
||
on: | ||
#workflow_dispatch: | ||
# Branches | ||
push: | ||
branches: ["dev*"] | ||
|
||
jobs: | ||
pull-request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: pull-request | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: dev | ||
|
||
- name: auto-deploy | ||
uses: diillson/[email protected] | ||
with: | ||
source_branch: "dev" | ||
destination_branch: "main" | ||
pr_title: "Staging ${{ github.ref }} into Main" | ||
pr_body: | | ||
:crown: *An automated PR* | ||
Pulling Dev branches into Main for release. | ||
- - - | ||
For Support, please visit [KBVE Support](https://kbve.com/support/) | ||
- - - | ||
For Git References, please visit [KBVE Git Application Reference](https://kbve.com/application/git/) | ||
- - - | ||
For Project Information, please visit [KBVE Projects Information](https://kbve.com/project/) | ||
- - - | ||
Preparing the stage. | ||
pr_label: "auto-pr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,55 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: KBVE Homepage | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
# On Release <-> Published. | ||
release: | ||
types: [published] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
# Node v16 might have to upgrade the pages.yml v18 | ||
permissions: | ||
actions: write | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
|
||
- name: Install | ||
shell: "bash" | ||
run: yarn install | ||
|
||
- name: Build | ||
shell: "bash" | ||
run: yarn build | ||
|
||
- name: Deploy | ||
uses: s0/git-publish-subdir-action@develop | ||
env: | ||
REPO: self | ||
BRANCH: gh-pages | ||
FOLDER: dist | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: KBVE Homepage | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
# On Release <-> Published. | ||
release: | ||
types: [published] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
# Node v16 might have to upgrade the pages.yml v18 | ||
permissions: | ||
actions: write | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
|
||
- name: Install | ||
shell: "bash" | ||
run: yarn install | ||
|
||
- name: Build | ||
shell: "bash" | ||
run: yarn build | ||
|
||
# Lets try docs Push! | ||
- name: Deploy | ||
uses: s0/git-publish-subdir-action@develop | ||
env: | ||
REPO: self | ||
BRANCH: gh-pages | ||
FOLDER: docs | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.