Skip to content

Commit 6ece365

Browse files
committed
Upgrade + Deploy
1 parent 8c1c3fb commit 6ece365

File tree

6 files changed

+1742
-7785
lines changed

6 files changed

+1742
-7785
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
11
name: Deploy to GitHub Pages
2-
32
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch’s name
63
push:
74
branches: [ main ]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
95
workflow_dispatch:
10-
11-
# Allow this job to clone the repo and create a page deployment
126
permissions:
137
contents: read
148
pages: write
159
id-token: write
16-
1710
jobs:
1811
build:
1912
runs-on: ubuntu-latest
2013
steps:
2114
- name: Checkout your repository using git
22-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
2316
- name: Install, build, and upload your site
24-
uses: withastro/action@v0
25-
- name: Upload artifact
26-
uses: actions/upload-pages-artifact@v3
27-
# with:
28-
# path: . # The root location of your Astro project inside the repository. (optional)
29-
# node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
30-
# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
31-
17+
uses: withastro/action@v3
3218
deploy:
3319
needs: build
3420
runs-on: ubuntu-latest
@@ -38,4 +24,4 @@ jobs:
3824
steps:
3925
- name: Deploy to GitHub Pages
4026
id: deployment
41-
uses: actions/deploy-pages@v1
27+
uses: actions/deploy-pages@v4

astro.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import { defineConfig, passthroughImageService, squooshImageService } from 'astro/config';
1+
import { defineConfig } from 'astro/config';
22

33
// https://astro.build/config
44
export default defineConfig({
55
site: 'https://freenandes.github.io',
66
image: {
7-
// service: passthroughImageService(),
8-
// service: squooshImageService(),
97
service: {
108
entrypoint: "/src/images.ts",
119
},

0 commit comments

Comments
 (0)