tech: Add ProductCard variant with discount code (#4755) #5233
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: Update repo diagram | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
get_data: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Update diagram | |
uses: githubocto/repo-visualizer@main | |
with: | |
output_file: temp-repo-diagram.svg | |
excluded_paths: 'ignore,.github' | |
should_push: false | |
- name: Checkout assets branch | |
run: git checkout assets | |
- name: Overwrite diagram | |
run: git mv --force ./temp-repo-diagram.svg ./repo-diagram.svg | |
- name: Add & commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: 'repo-diagram.svg' | |
message: 'Repo visualizer: updated diagram' |