0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Add new changes from token-studio-develop merge

This commit is contained in:
Akshay Gupta 2024-06-04 15:52:52 +05:30
parent 88d3fc234d
commit ea593221b3
No known key found for this signature in database
5 changed files with 26 additions and 13 deletions

View file

@ -14,7 +14,7 @@ values:
image:
pullPolicy: IfNotPresent
repository: ghcr.io/tokens-studio/tokens-studio-for-penpot
tag: 'frontend-{{ .SHA }}'
tag: 'frontend-pr-{{ .SHA }}'
ingress:
hosts:
- host: "{{ .BRANCH | sanitizeDNSName }}.penpot.staging.tokens.studio"

View file

@ -116,7 +116,6 @@ manifests: |
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
networking.gke.io/v1beta1.FrontendConfig: default-frontend-config
hosts:
- host: penpot.tokens.studio
tls:

View file

@ -12,7 +12,8 @@ jobs:
matrix:
include:
- dockerfile: Dockerfile.frontend
type: frontend
type: pr-frontend
name: frontend
permissions:
contents: read
packages: write
@ -30,7 +31,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
password: ${{ secrets.PAT_TOKEN }}
- name: Docker meta
id: meta
@ -42,9 +43,9 @@ jobs:
ghcr.io/tokens-studio/tokens-studio-for-penpot
- name: prebuild
run: |
echo "Building ${{ matrix.type }} image"
./manage.sh build-${{matrix.type}}-bundle
mv ./bundles/${{matrix.type}} ./docker/images/bundle-${{matrix.type}}/
echo "Building ${{ matrix.name }} image"
./manage.sh build-${{matrix.name}}-bundle
mv ./bundles/${{matrix.name}} ./docker/images/bundle-${{matrix.name}}/
- name: Publish Docker images
uses: docker/build-push-action@v5
@ -65,5 +66,6 @@ jobs:
- name: 🍍 Deploy with Gimlet
uses: gimlet-io/gimlet-artifact-shipper-action@v0.8.3
env:
GIMLET_SERVER: ${{ secrets.GIMLET_SERVER }}
GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
GIMLET_SERVER: ${{ secrets.GIMLET_SERVER }}
GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
DEPLOY: 'true'

View file

@ -31,7 +31,8 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
password: ${{ secrets.PAT_TOKEN }}
- name: Docker meta
id: meta
@ -71,7 +72,7 @@ jobs:
with:
ENV: "prod"
APP: "penpot"
DEPLOY: "true"
WAIT: "true"
smoke:
runs-on: ubuntu-latest
needs:

View file

@ -24,8 +24,19 @@
background-color: var(--menu-background-color);
max-height: 100vh;
overflow-y: auto;
// TODO: Fixes missing styles from parent context menu
li {
@include bodySmallTypography;
color: var(--menu-foreground-color);
}
}
.token-context-submenu {
position: absolute;
// TODO: Allow selected items wihtout an icon for the context menu
.empty-icon {
width: 0;
height: 0;
}
.hidden-icon {
width: 11px;
}