Skip to content

Commit 88d0956

Browse files
committed
Deployment configuration
1 parent 6210370 commit 88d0956

8 files changed

Lines changed: 125 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time there is a push to the `main` branch
5+
push:
6+
branches: [ main ]
7+
workflow_dispatch:
8+
9+
# Allow this job to clone the repo and create a page deployment
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout repository using git
20+
uses: actions/checkout@v4
21+
- name: Install, build, and upload site
22+
uses: withastro/action@v3
23+
with:
24+
path: ./LogicLab
25+
26+
deploy:
27+
needs: build
28+
runs-on: ubuntu-latest
29+
environment:
30+
name: github-pages
31+
url: ${{ steps.deployment.outputs.page_url }}
32+
steps:
33+
- name: Deploy to GitHub Pages
34+
id: deployment
35+
uses: actions/deploy-pages@v4

.idea/LogicLab.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 54 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LogicLab/astro.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { defineConfig } from "astro/config";
33

44
import react from "@astrojs/react";
55

6-
// https://astro.build/config
76
export default defineConfig({
8-
integrations: [react()]
7+
integrations: [react()],
8+
site: "https://enzzoms.github.io",
9+
base: "LogicLab"
910
});

LogicLab/src/components/shared/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import githubLogo from "@assets/icons/github-logo.svg";
3-
import Image from "astro/components/Image.astro";
3+
import {Image} from "astro:assets";
44
---
55

66
<div class="footer-wrapper">

0 commit comments

Comments
 (0)