mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
ci/cd - fix automatic push of doc
This commit is contained in:
parent
01fbacf0ff
commit
cd57eb423e
4 changed files with 11 additions and 4 deletions
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
|
@ -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:
|
||||
|
|
8
.github/workflows/push-doc.yml
vendored
8
.github/workflows/push-doc.yml
vendored
|
@ -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'
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue