Skip to content

Commit

Permalink
Merge pull request #912 from KBVE/dev
Browse files Browse the repository at this point in the history
Staging refs/heads/dev into Main
  • Loading branch information
h0lybyte authored Mar 2, 2024
2 parents 0da7777 + 8109fcd commit e5945e4
Show file tree
Hide file tree
Showing 8 changed files with 397 additions and 318 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/auto_pull_dev.yml
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"
107 changes: 54 additions & 53 deletions .github/workflows/pages.yml
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 }}
Loading

0 comments on commit e5945e4

Please sign in to comment.