* Remove unused code in InstalledAppsLayout * Add new app categories "crm", "conferencing" and "messaging" * Sort getAppCategories entries alphabetically * Fix 404s on new category pages (and remove hardcoded category lists) * Fix admin apps list not showing "no available apps" for new categories * Recategorise apps * Sync seed-app-store categories with config files * Replace unnecessary seed-app-store.config.json with appStoreMetadata * Copy video.svg to conferencing.svg * Add messaging.svg * Remove web3 from getAppCategories (used by installed apps, admin apps) * Fix app-store-cli categories - Add conferencing - Add CRM - Remove video - Remove web3 * Remove outdated web3 comment in seed-app-store * Update apps/web/public/static/locales/en/common.json * Add cron script to keep db apps in sync with app metadata * Add redirect for app category "video" to "conferencing" * Fix up "video" category overrides to apply to conferencing * Fix conferencing apps not showing as a location for non-team users * Restore "installed_app" string for conferencing apps * Make linter happier * Remove my "installed_app_conferencing_description" as this was fixed upstream * Quick tidy up * Add dry-run to syncAppMeta via CRON_ENABLE_APP_SYNC env * Replace console.log with logger in syncAppMeta --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: Omar López <zomars@me.com>
25 lines
798 B
YAML
25 lines
798 B
YAML
name: Cron - syncAppMeta
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
# "Scheduled workflows run on the latest commit on the default or base branch."
|
|
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
|
|
schedule:
|
|
# Runs “Every month at 1st (see https://crontab.guru)
|
|
- cron: "0 0 1 * *"
|
|
jobs:
|
|
cron-syncAppMeta:
|
|
env:
|
|
APP_URL: ${{ secrets.APP_URL }}
|
|
CRON_API_KEY: ${{ secrets.CRON_API_KEY }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: cURL request
|
|
if: ${{ env.APP_URL && env.CRON_API_KEY }}
|
|
run: |
|
|
curl ${{ secrets.APP_URL }}/api/cron/syncAppMeta \
|
|
-X POST \
|
|
-H 'content-type: application/json' \
|
|
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
|
|
--fail
|