Skip to content

test main

test main #2

name: Jekyll Production Publishing
on:
push:
branches:
- main
- '2.18'
- '2.17'
- '1.3'
workflow_dispatch:
inputs:
manual_deploy_branch:
description: "Which branch do you want to manually deploy, use 'all' to deploy all the branches (1.3, 2.x, 3.x ...) from scratch, takes long time."
type: string
required: true
default: ''
concurrency:
group: ${{ github.workflow }}-${{ github.event.inputs.manual_deploy_branch }}
cancel-in-progress: true
jobs:
jekyll-publish:
runs-on: ubuntu-latest
steps:
- name: echo concurrency group
run: echo ${{ github.workflow }}-${{ github.event.inputs.manual_deploy_branch }}
- uses: actions/checkout@v4
#- uses: ruby/setup-ruby@v1
# with:
# ruby-version: '3.2'
# bundler-cache: true
- run: echo GITHUB_REF_NAME $GITHUB_REF_NAME