Double apache on off server #1820
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
issues: | |
issue_comment: | |
push: | |
branches: [develop] | |
jobs: | |
readme-writer: | |
name: Write README.md | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: develop | |
# we use a personal access token of openfoodfacts-bot to allow bypassing branch protection rules | |
token: "${{ secrets.README_WRITER_PAT }}" | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- run: | | |
pip install -r scripts/readme-writer/requirements.txt | |
python scripts/readme-writer/readme_writer.py | |
cat README.md | |
- name: Commit README.md | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: develop | |
repository: . | |
file_pattern: README.md | |
commit_message: Update README.md | |
commit_options: '--no-verify --signoff' |