Skip to content

Commit

Permalink
fix(environment): correct host
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Sep 12, 2023
1 parent 56fb250 commit 74ca440
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
release_semantic_dry:
needs: prepare_jobs
name: Release (semantic, dry)
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.43.0
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@1.0.0-beta.1
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
permissions:
contents: write
Expand All @@ -35,27 +35,27 @@ jobs:
DRY_RUN: true
build:
name: Build
uses: dargmuesli/github-actions/.github/workflows/docker.yml@0.43.0
uses: dargmuesli/github-actions/.github/workflows/docker.yml@1.0.0-beta.1
needs: release_semantic_dry
permissions:
packages: write
with:
ARTIFACT_PATH: src/.output/public
BUILD_ARGUMENTS: SITE_URL=https://jonas-thelemann.de
BUILD_TARGET: build-static
BUILD_ARGUMENTS_RELEASE: SITE_URL=https://jonas-thelemann.de
BUILD_TARGET_RELEASE: build-static
TAG: ${{ needs.release_semantic_dry.outputs.new_release_version }}
release_semantic:
needs: build
name: Release (semantic)
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@0.43.0
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@1.0.0-beta.1
permissions:
contents: write
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
deploy:
needs: build
name: Deploy
uses: dargmuesli/github-actions/.github/workflows/deploy-cloudflare-pages.yml@0.43.0
uses: dargmuesli/github-actions/.github/workflows/deploy-cloudflare-pages.yml@1.0.0-beta.1
secrets:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
release-schedule:
name: 'Release: Scheduled'
uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@0.43.0
uses: dargmuesli/github-actions/.github/workflows/release-schedule.yml@1.0.0-beta.1
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN pnpm install --offline

FROM node:20.6.1-alpine@sha256:d75175d449921d06250afd87d51f39a74fc174789fa3c50eba0d3b18369cc749 AS build-static

ARG SITE_URL=http://example.com
ARG SITE_URL=http://localhost:3002
ENV SITE_URL=${SITE_URL}

# The `CI` environment variable must be set for pnpm to run in headless mode
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "pnpm run build:node",
"build:node": "nuxt build",
"build:static": "SITE_URL=http://localhost:3002 nuxt generate",
"build:static": "nuxt generate",
"dev": "pnpm run start:dev",
"generate": "pnpm run build:static",
"lint:fix": "pnpm run lint:js --fix && pnpm run lint:ts --fix && pnpm run lint:style --fix",
Expand Down

0 comments on commit 74ca440

Please sign in to comment.