2021-02-08 22:18:17 +08:00
|
|
|
name: Deploy Code to Release Branch
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Push to Release Branch
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-11-26 00:02:08 +08:00
|
|
|
uses: actions/checkout@v4
|
2021-02-08 22:18:17 +08:00
|
|
|
|
2021-02-08 22:44:51 +08:00
|
|
|
# Workflow dispatch event that pushes the current version to the release branch.
|
|
|
|
# From here the secondary production deployment workflow will trigger to build the dependencies.
|
2021-02-08 22:18:17 +08:00
|
|
|
- name: Deploy 🚀
|
2022-06-26 20:57:54 +08:00
|
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
2021-02-08 22:18:17 +08:00
|
|
|
with:
|
2021-02-08 22:44:51 +08:00
|
|
|
branch: releases/v4
|
2021-02-08 22:23:04 +08:00
|
|
|
folder: .
|
2021-02-08 22:40:49 +08:00
|
|
|
clean: false
|
2021-04-27 06:57:10 +08:00
|
|
|
single-commit: true
|