Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

Commit c77836e

Browse files
committed
Update astro and the deploy workflow
1 parent 1428b85 commit c77836e

File tree

4 files changed

+1592
-1860
lines changed

4 files changed

+1592
-1860
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ main ]
88
# Allows you to run this workflow manually from the Actions tab on GitHub.
99
workflow_dispatch:
10-
10+
1111
# Allow this job to clone the repo and create a page deployment
1212
permissions:
1313
contents: read
@@ -21,11 +21,11 @@ jobs:
2121
- name: Checkout your repository using git
2222
uses: actions/checkout@v3
2323
- name: Install, build, and upload your site
24-
uses: withastro/action@v0
24+
uses: withastro/action@v1
2525
# with:
26-
# path: . # The root location of your Astro project inside the repository. (optional)
27-
# node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
28-
# 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)
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
28+
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
2929

3030
deploy:
3131
needs: build
@@ -37,4 +37,3 @@ jobs:
3737
- name: Deploy to GitHub Pages
3838
id: deployment
3939
uses: actions/deploy-pages@v1
40-

astro.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import { defineConfig } from 'astro/config';
2-
import mdx from '@astrojs/mdx';
3-
42
import sitemap from '@astrojs/sitemap';
53

64
// https://astro.build/config
75
export default defineConfig({
86
site: 'https://creatorstf.github.io/',
9-
integrations: [mdx(), sitemap()],
7+
integrations: [sitemap()],
108
});

0 commit comments

Comments
 (0)