fix deployment flow
This commit is contained in:
4
.github/workflows/deploy-production.yml
vendored
4
.github/workflows/deploy-production.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: Build and start containers
|
||||
uses: appleboy/ssh-action@v1
|
||||
with:
|
||||
host: ${{ vars.STAGING_HOST }}
|
||||
host: ${{ vars.PRODUCTION_HOST }}
|
||||
username: ${{ secrets.SSH_USERNAME }}
|
||||
password: ${{ secrets.SSH_PASSWORD }}
|
||||
port: 22
|
||||
@@ -46,4 +46,4 @@ jobs:
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
source "$NVM_DIR/nvm.sh"
|
||||
cd ~/docker/var-monorepo
|
||||
pnpm staging-start
|
||||
pnpm prod-start
|
||||
|
||||
@@ -10,6 +10,9 @@ const page = async () => {
|
||||
if (!user) return null;
|
||||
|
||||
const events = await prisma.event.findMany({
|
||||
where: {
|
||||
hidden: false,
|
||||
},
|
||||
include: {
|
||||
Appointments: {
|
||||
where: {
|
||||
@@ -65,8 +68,8 @@ const page = async () => {
|
||||
return (
|
||||
<div className="grid grid-cols-6 gap-4">
|
||||
<div className="col-span-full">
|
||||
<p className="text-2xl font-semibold text-left flex items-center gap-2">
|
||||
<RocketIcon className="w-5 h-5" /> Events & Kurse
|
||||
<p className="flex items-center gap-2 text-left text-2xl font-semibold">
|
||||
<RocketIcon className="h-5 w-5" /> Events & Kurse
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ export interface PublicUser {
|
||||
}
|
||||
|
||||
export const DISCORD_ROLES = {
|
||||
ONLINE_DISPATCHER: "1287399540390891571", // Replace with actual role ID
|
||||
ONLINE_PILOT: "1287399540390891571", // Replace with actual role ID
|
||||
ONLINE_DISPATCHER: "1287399540390891571",
|
||||
ONLINE_PILOT: "1287399540390891571",
|
||||
DISPATCHER: "1081247459994501222",
|
||||
PILOT: "1081247405304975390",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user