Removed commit signing for docs action 😥 #15
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
name: Build Docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'fastlane/**/*' | |
- 'scripts/generate-readme.sh' | |
- '.github/workflows/docs.yml' | |
jobs: | |
build: | |
permissions: | |
id-token: write # Enable OIDC | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate Readme | |
run: bash ${GITHUB_WORKSPACE}/scripts/generate-readme.sh | |
- name: Commit and push changes | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "Generated docs" | |
git push --force |