Skip to content
Merged
Show file tree
Hide file tree
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
57 changes: 57 additions & 0 deletions .github/workflows/publisher-command-center.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Publisher Commander Center Extension

on:
pull_request:
paths:
- 'extensions/publisher-command-center/**'

env:
EXTENSION_NAME: publisher-command-center

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./extensions/${{ env.EXTENSION_NAME }}

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: extensions/${{ env.EXTENSION_NAME }}/package-lock.json

- run: npm ci
- run: npm run build

- name: Upload built extension
uses: actions/upload-artifact@v4
with:
name: ${{ env.EXTENSION_NAME }}
path: |
extensions/${{ env.EXTENSION_NAME }}/dist/
extensions/${{ env.EXTENSION_NAME }}/requirements.txt
extensions/${{ env.EXTENSION_NAME }}/app.py
extensions/${{ env.EXTENSION_NAME }}/manifest.json
extensions/${{ env.EXTENSION_NAME }}/connect-extension.toml

package:
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v4
with:
name: ${{ env.EXTENSION_NAME}}
path: ${{ env.EXTENSION_NAME }}

- name: Create tar
run: tar -czf $EXTENSION_NAME.tar.gz $EXTENSION_NAME

- name: Upload extension tar
uses: actions/upload-artifact@v4
with:
name: ${{ env.EXTENSION_NAME }}.tar.gz
path: ${{ env.EXTENSION_NAME }}.tar.gz
4 changes: 4 additions & 0 deletions extensions/publisher-command-center/connect-extension.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name = "publisher-command-center"
title = "Publisher Command Center"
description = "A dashboard for publishers to help manage and track their content."
access_type = "acl"
3 changes: 0 additions & 3 deletions extensions/publisher-command-center/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
"dist/index.html": {
"checksum": "4be76de8432e10c1b1ec25dc9e965a64"
},
"index.html": {
"checksum": "7433a22d0845c4d09abaaa8643c6c7f1"
},
"requirements.txt": {
"checksum": "a162a98758867a701ce693948ffdfa67"
}
Expand Down