Testing Dockge CLI in CI 2
Some checks failed
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
/ checking (push) Successful in 12s
/ create-release (push) Successful in 6s
/ check-tag (push) Successful in 3s
/ build-site (push) Successful in 1m51s
/ auto-deploy-dockge (push) Failing after 8s

This commit is contained in:
Firq 2024-07-20 16:56:29 +02:00
parent be1416a74a
commit bc5f43802f
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 6 additions and 4 deletions

View file

@ -68,10 +68,11 @@ jobs:
auto-deploy-dockge: auto-deploy-dockge:
needs: [ build-site ] needs: [ build-site ]
runs-on: docker runs-on: docker
if: success()
container: nikolaik/python-nodejs:python3.11-nodejs21 container: nikolaik/python-nodejs:python3.11-nodejs21
steps: steps:
- name: Configure pip - name: Configure pip
uses: | run: |
pip config set global.index-url https://pypi.org/simple pip config set global.index-url https://pypi.org/simple
pip config set global.extra-index-url https://forgejo.neshweb.net/api/packages/Firq/pypi/simple/ pip config set global.extra-index-url https://forgejo.neshweb.net/api/packages/Firq/pypi/simple/
pip config set global.timeout 60 pip config set global.timeout 60

View file

@ -2,6 +2,7 @@ FROM node:lts AS build
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN npm i RUN npm i
RUN npm run astro telemetry disable
RUN npm run build RUN npm run build
FROM forgejo.neshweb.net/ci-docker-images/website-serve:0.1.3 AS runtime FROM forgejo.neshweb.net/ci-docker-images/website-serve:0.1.3 AS runtime
@ -10,7 +11,7 @@ COPY --from=build /app/dist /public
COPY --from=build /app/serve.json /public/serve.json COPY --from=build /app/serve.json /public/serve.json
RUN rm -r /public/data/ RUN rm -r /public/data/
ENV PORT 8081 ENV PORT=8081
EXPOSE 8081 EXPOSE 8081
CMD [ "serve", "public/", "-p", "8081" ] CMD serve public/ -p ${PORT}

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.3", "version": "0.2.0-pre.4",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",