Skip to content

Commit

Permalink
added favicons and github workflow #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed Jun 9, 2022
1 parent ba9b2cd commit 7d884c1
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/buld_test_and_auto_tag_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: On_Push_Testing

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

test_build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Environment
uses: actions/setup-node@v3
with:
node-version: 18.1.0
- run: npm install
- run: npm run build
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.36.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
- name: change latest tag
uses: EndBug/latest-tag@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
with:
# You can change the name of the tag or branch with this input.
# Default: 'latest'
ref: 'latest'
# If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag.
# Default: ''
description: 'latest version of the ${{ github.event.repository.name }}.'
# Force-update a branch instead of using a tag.
# Default: false
force-branch: false

release-manager:
needs: test_build
name: Check if ready for release
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: echo ${{ github.event.repository.name }}
name: Get latest tag of repo
- uses: oprypin/find-latest-tag@v1
with:
repository: vliz-be-opsci/${{ github.event.repository.name }} # The repository to scan. Change the part before the / to name or organisation where repo resides
releases-only: false # Set to true if you want to know the tag linked to the latest release
id: vliz-be-opsci # The step ID to refer to later.

- run: echo "${{ github.event.repository.name }} is at version ${{ steps.vliz-be-opsci.outputs.tag }}"
name: check if latest tag meets maor release requirements
- uses: actions-ecosystem/action-regex-match@v2
id: regex-match
with:
text: ${{ steps.vliz-be-opsci.outputs.tag }}
regex: 'v[0-9].0.0'
- name: Create release
if: ${{ steps.regex-match.outputs.match != '' }}
uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: mayor
Binary file modified frontend/public/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon_io/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon_io/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon_io/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon_io/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions frontend/public/favicon_io/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

0 comments on commit 7d884c1

Please sign in to comment.