From c8389faa9689a8853ab1583288955fdeebf33760 Mon Sep 17 00:00:00 2001 From: Alexander Biraben-Renard Date: Tue, 3 Sep 2024 16:58:42 +0100 Subject: [PATCH] wip: try changing style import order --- .github/workflows/build.yml | 14 +++++++------- app/students/[shortcode]/page.tsx | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b910982..8172e900 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ env: IMPAAS_APP_NAME: cpp-connect IMPAAS_DEPLOY_TOKEN: ${{ secrets.IMPAAS_DEPLOY_TOKEN }} -on: - push: - branches: ["main"] - pull_request: - branches: ["main"] +on: [push] +# push: +# branches: ["main"] +# pull_request: +# branches: ["main"] jobs: lint: @@ -109,7 +109,7 @@ jobs: context: . # pushes regardless; only main tagged with latest push: true - tags: ${{ steps.meta.outputs.tags }} + tags: ${{ steps.meta.outputs.tags }}, ghcr.io/imperial/cpp-connect:latest labels: ${{ steps.meta.outputs.labels }} no-cache: true @@ -117,7 +117,7 @@ jobs: deploy-impaas: needs: - build-and-push-image - if: github.ref == 'refs/heads/main' +# if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest env: TSURU_TOKEN: ${{ secrets.IMPAAS_DEPLOY_TOKEN }} diff --git a/app/students/[shortcode]/page.tsx b/app/students/[shortcode]/page.tsx index 75ac093d..c19ffd99 100644 --- a/app/students/[shortcode]/page.tsx +++ b/app/students/[shortcode]/page.tsx @@ -9,8 +9,6 @@ import RestrictedArea from "@/components/rbac/RestrictedArea" import RestrictedAreaStudent from "@/components/rbac/RestrictedAreaStudent" import prisma from "@/lib/db" -import styles from "./page.module.scss" - import { OpportunityType, Role } from "@prisma/client" import { Box, Card, Flex, Heading, Separator, Text } from "@radix-ui/themes" import { format } from "date-fns" @@ -19,6 +17,8 @@ import React from "react" import { BsEnvelope, BsFileEarmarkText, BsGithub, BsGlobe, BsLinkedin } from "react-icons/bs" import { IconType } from "react-icons/lib" +import styles from "./page.module.scss" + const linkIconSize = "25" /**