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
|
2022-03-02 19:48:26 +08:00
|
|
|
uses: actions/checkout@v3
|
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-04-26 10:02:00 +08:00
|
|
|
uses: JamesIves/github-pages-deploy-action@v4.3.2
|
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
|