Compare commits

...

3 Commits

Author SHA1 Message Date
3938ba0d99 Added new version of hash
All checks were successful
/ Deploy to Cloudflare Pages (push) Successful in 5m2s
2023-10-22 18:53:24 -06:00
c6c7eaf7fc Added new config for pages action
Some checks failed
/ Deploy to Cloudflare Pages (push) Failing after 15s
2023-10-22 18:52:08 -06:00
46c2932861 Added new config for runner
Some checks failed
/ Deploy to Cloudflare Pages (push) Failing after 33s
2023-10-22 18:40:38 -06:00
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: Build
run: npm install && npm run build
- name: Publish
uses: https://github.com/cloudflare/pages-action@1
uses: https://github.com/cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

View File

@ -2,7 +2,7 @@ import rss from "@astrojs/rss";
import type { APIRoute } from "astro";
import { getCollection } from "astro:content";
export const get: APIRoute = async function get({ site }) {
export const get: APIRoute = async function get({ site }: any) {
const posts = await getCollection("blog");
const items = posts.map(({ data: { image, title, exerpt, date }, slug }) => ({
title,