mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Revert "feat(ci): Allow running manual workflows against specific commits"
This reverts commit 9b4845bf8d.
This commit is contained in:
@@ -18,12 +18,6 @@ on:
|
|||||||
- "v*.*.*"
|
- "v*.*.*"
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
commit:
|
|
||||||
description: 'Commit SHA to build (default: latest commit on the branch)'
|
|
||||||
required: false
|
|
||||||
default: ""
|
|
||||||
type: string
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILTIN_REGISTRY: forgejo.ellis.link
|
BUILTIN_REGISTRY: forgejo.ellis.link
|
||||||
@@ -48,14 +42,10 @@ jobs:
|
|||||||
slug: "linux-arm64"
|
slug: "linux-arm64"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Pick checkout ref
|
|
||||||
run:
|
|
||||||
echo "COMMIT_REF=${{ github.event_name == 'workflow_dispatch' && (github.event.inputs.commit != '' && github.event.inputs.commit || github.sha) || github.sha }}" >> $GITHUB_ENV
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
ref: ${{ env.COMMIT_REF }}
|
|
||||||
- name: Prepare Docker build environment
|
- name: Prepare Docker build environment
|
||||||
id: prepare
|
id: prepare
|
||||||
uses: ./.forgejo/actions/prepare-docker-build
|
uses: ./.forgejo/actions/prepare-docker-build
|
||||||
|
|||||||
Reference in New Issue
Block a user