Compare commits
10 commits
02e40c32e8
...
47b2acd39d
Author | SHA1 | Date | |
---|---|---|---|
|
47b2acd39d | ||
ee60e71cf2 | |||
d1168cf533 | |||
|
4eb32b096e | ||
f0387bef59 | |||
03ae071506 | |||
0cd6b339f0 | |||
f4db10a21d | |||
e242b24f79 | |||
c610081099 |
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