Implemented a script to hardcode VersionCode
and VersionName
in f…
#29
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/metadata/android/**/*' | |
- 'scripts/generate-readme.sh' | |
- '.github/workflows/docs.yml' | |
jobs: | |
build: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.BOT_ACCESS_TOKEN }} | |
- name: Generate Readme | |
run: bash ${GITHUB_WORKSPACE}/scripts/generate-readme.sh | |
- name: Commit and push changes | |
continue-on-error: true | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "Generated docs" | |
git push --force |