5 Commits
Author SHA1 Message Date
legonzaur 75669682ab fix typo
release-tag / release-image (push) Successful in 59s
2025-06-01 15:31:25 +02:00
legonzaur 36c4ad1579 custom bouton valider 2025-06-01 14:28:09 +02:00
legonzaur b79b0162d1 fix build
release-tag / release-image (push) Successful in 1m13s
2025-06-01 13:19:46 +02:00
legonzaur e05598b860 fix containerfile
release-tag / release-image (push) Has been cancelled
2025-06-01 13:16:38 +02:00
legonzaur d5fbec27dd fix env in containerfile
release-tag / release-image (push) Failing after 34s
2025-06-01 13:15:53 +02:00
4 changed files with 22 additions and 11 deletions
+6 -6
View File
@@ -17,12 +17,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# - name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# registry: ${{ env.ENDPOINT }}
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: ${{ env.ENDPOINT }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Docker meta
id: meta
+1 -2
View File
@@ -6,7 +6,6 @@ COPY package*.json ./
RUN npm ci
COPY . .
RUN n
RUN npx nuxt build
FROM node:lts-alpine AS production-stage
@@ -14,7 +13,7 @@ WORKDIR /app
COPY --from=build-stage /app/.output/ /app
COPY --from=build-stage /app/node_modules/ /app/node_modules
ENV NUXT_PUBLIC_API_BASE
ENV NUXT_PUBLIC_API_BASE=http://localhost:3000
EXPOSE 3000
CMD ["node", "server/index.mjs"]
+1 -1
View File
@@ -102,7 +102,7 @@
<component :is="questionComponent" question-id="5.2" :results="results" />
</div>
<div>
5.3) On n’attend que le prise de conscience vienne de l’amapien.
5.3) On n’attend que la prise de conscience vienne de l’amapien.
<component :is="questionComponent" question-id="5.3" :results="results" />
</div>
+14 -2
View File
@@ -1,7 +1,7 @@
<template>
<MainPoll :question-component="QuestionChoice" @submit="submitForm">
<template #submit>
<button type="submit">Submit</button>
<button type="submit" id="form-submit">Valider</button>
</template>
</MainPoll>
</template>
@@ -27,4 +27,16 @@ async function submitForm(e: Event) {
navigateTo({ path: "/results", query: route.query })
}
</script>
</script>
<style>
#form-submit {
padding: .375rem .75rem;
border-width: 0px;
border-color: rgb(0, 0, 0);
border-radius: 5px;
background-color: rgb(17, 95, 239);
color: white;
font-size: 1em;
}
</style>