commit
47b2acd39d
3 changed files with 15 additions and 4 deletions
13
.github/workflows/clean_repository.yml
vendored
13
.github/workflows/clean_repository.yml
vendored
|
@ -3,6 +3,17 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '45 11 * * 0'
|
- cron: '45 11 * * 0'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
days:
|
||||||
|
description: 'retain days'
|
||||||
|
required: true
|
||||||
|
default: 15
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 7
|
||||||
|
- 15
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
del_runs:
|
del_runs:
|
||||||
|
@ -16,5 +27,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
retain_days: 30
|
retain_days: ${{ github.event.inputs.days }}
|
||||||
keep_minimum_runs: 7
|
keep_minimum_runs: 7
|
||||||
|
|
4
.github/workflows/release_stable.yml
vendored
4
.github/workflows/release_stable.yml
vendored
|
@ -84,13 +84,13 @@ jobs:
|
||||||
- name: notfound
|
- name: notfound
|
||||||
if: (steps.create.outputs.created == 'false')
|
if: (steps.create.outputs.created == 'false')
|
||||||
run: |
|
run: |
|
||||||
SUMMARY=$'Branch ${{ steps.dotclear.outputs.version }} has not been created.'
|
SUMMARY=$'Branch ${{ needs.check_image.outputs.version }} has not been created.'
|
||||||
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: found
|
- name: found
|
||||||
if: (steps.create.outputs.created == 'true')
|
if: (steps.create.outputs.created == 'true')
|
||||||
run: |
|
run: |
|
||||||
SUMMARY=$' Branch ${{ steps.dotclear.outputs.version }} has been created.'
|
SUMMARY=$' Branch ${{ needs.check_image.outputs.version }} has been created.'
|
||||||
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
do_image:
|
do_image:
|
||||||
|
|
|
@ -136,7 +136,7 @@ RUN curl -fsSL -o plugin.zip "https://github.com/JcDenis/dcLog/releases/download
|
||||||
&& rm plugin.zip
|
&& rm plugin.zip
|
||||||
|
|
||||||
# sysInfo
|
# sysInfo
|
||||||
ENV VER_SI=9.7
|
ENV VER_SI=9.8
|
||||||
RUN curl -fsSL -o plugin.zip "https://github.com/franck-paul/sysInfo/releases/download/$VER_SI/plugin-sysInfo-$VER_SI.zip" \
|
RUN curl -fsSL -o plugin.zip "https://github.com/franck-paul/sysInfo/releases/download/$VER_SI/plugin-sysInfo-$VER_SI.zip" \
|
||||||
&& mkdir -p /var/lib/dotclear/plugins/sysInfo \
|
&& mkdir -p /var/lib/dotclear/plugins/sysInfo \
|
||||||
&& unzip -d /var/lib/dotclear/plugins plugin.zip \
|
&& unzip -d /var/lib/dotclear/plugins plugin.zip \
|
||||||
|
|
Loading…
Reference in a new issue