Upload erettsegi_emelt 2023_okt #71
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: Generate Badges | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Make Java Badge | |
uses: shadowmoose/[email protected] | |
with: | |
directory: ./ | |
badge: ./output/java.svg | |
patterns: '**/*.java' | |
badge_label: 'Java Sorok' | |
badge_color: 'orange' | |
- name: Make C# Badge | |
uses: shadowmoose/[email protected] | |
with: | |
directory: ./ | |
badge: ./output/cs.svg | |
patterns: '**/*.cs' | |
badge_label: 'C# Sorok' | |
badge_color: 'green' | |
- name: Make F# Badge | |
uses: shadowmoose/[email protected] | |
with: | |
directory: ./ | |
badge: ./output/fs.svg | |
patterns: '**/*.fs|**/*.fsx' | |
badge_label: 'F# Sorok' | |
badge_color: 'purple' | |
- name: Make Python Badge | |
uses: shadowmoose/[email protected] | |
with: | |
directory: ./ | |
badge: ./output/py.svg | |
patterns: '**/*.py' | |
badge_label: 'Python Sorok' | |
badge_color: 'blue' | |
- name: Make Rust Badge | |
uses: shadowmoose/[email protected] | |
with: | |
directory: ./ | |
badge: ./output/rs.svg | |
patterns: '**/*.rs' | |
badge_label: 'Rust Sorok' | |
badge_color: 'grey' | |
- name: Make R Badge | |
uses: shadowmoose/[email protected] | |
with: | |
directory: ./ | |
badge: ./output/r.svg | |
patterns: '**/*.r' | |
badge_label: 'R Sorok' | |
badge_color: 'cyan' | |
- name: Deploy to image-data branch | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./output | |
publish_branch: badges | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |