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-01-06 21:39:45 +08:00
|
|
|
uses: actions/checkout@v2.4.0
|
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-01-11 21:13:14 +08:00
|
|
|
uses: JamesIves/github-pages-deploy-action@v4.2.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
|