ci/cd - fix automatic push of doc

This commit is contained in:
florian 2023-05-02 16:00:37 +02:00
parent 01fbacf0ff
commit cd57eb423e
No known key found for this signature in database
GPG key ID: 3D80806F12602A7C
4 changed files with 11 additions and 4 deletions

View file

@ -431,6 +431,8 @@ jobs:
with:
VERSION: ${{ needs.wait-builds.outputs.version }}
ALIAS: beta
secrets:
BUNKERBOT_TOKEN: ${{ secrets.BUNKERBOT_TOKEN }}
# Remove ARM VM
rm-arm:

View file

@ -9,6 +9,9 @@ on:
ALIAS:
required: true
type: string
secrets:
BUNKERBOT_TOKEN:
required: true
jobs:
build:
@ -18,10 +21,11 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.BUNKERBOT_TOKEN }}
- name: Setup git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "BunkerBot"
git config --global user.email "bunkerbot@bunkerity.com"
- uses: actions/setup-python@v4
with:
python-version: '3.10'

View file

@ -899,7 +899,7 @@ Repositories of Linux packages for BunkerWeb are available on [PackageCloud](htt
sudo dnf install -y nginx-1.24.0
```
And finally install BunkerWeb 1.5.0-beta :
And finally install BunkerWeb 1.5.0_beta :
```shell
curl -s https://packagecloud.io/install/repositories/bunkerity/bunkerweb/script.rpm.sh | \
@ -949,7 +949,7 @@ Repositories of Linux packages for BunkerWeb are available on [PackageCloud](htt
dnf install -y epel-release && \
curl -s https://packagecloud.io/install/repositories/bunkerity/bunkerweb/script.rpm.sh | sudo bash && \
sudo dnf check-update && \
sudo dnf install -y bunkerweb-1.5.0-beta
sudo dnf install -y bunkerweb-1.5.0_beta
```
To prevent upgrading NGINX and/or BunkerWeb packages when executing `dnf upgrade`, you can use the following command :

View file

@ -19,4 +19,5 @@ for example in examples/* ; do
sed -i "s@${OLD_VERSION}@${NEW_VERSION}@g" ${example}/*.yml
done
# docs
# TODO : replace X.Y.Z_beta with X.Y.Z-beta (rpm install)
sed -i "s@${OLD_VERSION}@${NEW_VERSION}@g" docs/*.md