Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
path: project-repo
repository: ${{ matrix.project.repo }}
token: ${{ secrets.PLATFORM_BOT_GITHUB_TOKEN }}
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -35,16 +36,16 @@ jobs:
- name: Install nava-platform CLI
run: pipx install --python "$(which python)" git+https://github.com/navapbc/platform-cli

- name: Update application template
working-directory: project-repo
run: nava-platform app update --template-uri ${{ github.server_url }}/${{ github.repository }} --version HEAD . ${{ matrix.project.app }}

- name: Configure git
working-directory: project-repo
run: |
git config user.name nava-platform-bot
git config user.email [email protected]

- name: Update application template
working-directory: project-repo
run: nava-platform app update --template-uri ${{ github.server_url }}/${{ github.repository }} --version HEAD . ${{ matrix.project.app }}

- name: Push changes to project repo
working-directory: project-repo
run: git push
Loading