Skip to content

Commit

Permalink
done.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eveeifyeve committed Nov 12, 2023
1 parent e762805 commit 2ada53c
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 152 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
# Run your project's build step
# - name: Build
# run: npm install && npm run build
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
projectName: eveeifyeve # e.g. 'my-project'
directory: dist # e.g. 'dist'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

6 changes: 5 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { defineConfig } from 'astro/config';
import cloudflare from "@astrojs/cloudflare";

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
output: "server",
adapter: cloudflare(),
integrations: [tailwind()]
});
});

Binary file modified bun.lockb
Binary file not shown.
21 changes: 0 additions & 21 deletions my-astro-app/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions my-astro-app/.vscode/extensions.json

This file was deleted.

11 changes: 0 additions & 11 deletions my-astro-app/.vscode/launch.json

This file was deleted.

47 changes: 0 additions & 47 deletions my-astro-app/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions my-astro-app/astro.config.mjs

This file was deleted.

Binary file removed my-astro-app/bun.lockb
Binary file not shown.
21 changes: 0 additions & 21 deletions my-astro-app/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions my-astro-app/public/favicon.svg

This file was deleted.

1 change: 0 additions & 1 deletion my-astro-app/src/env.d.ts

This file was deleted.

16 changes: 0 additions & 16 deletions my-astro-app/src/pages/index.astro

This file was deleted.

3 changes: 0 additions & 3 deletions my-astro-app/tsconfig.json

This file was deleted.

17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"name": "test",
"name": "my-astro-app",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"astro": "astro",
"pages:dev": "wrangler pages dev --compatibility-date=2023-05-18 -- astro dev",
"pages:deploy": "astro build && wrangler pages deploy ./dist"
},
"dependencies": {
"@astrojs/cloudflare": "^7.6.4",
"@astrojs/tailwind": "^5.0.2",
"@popperjs/core": "^2.11.8",
"@types/bootstrap": "^5.2.9",
"astro": "^3.5.3",
"astro-bootstrap": "^0.6.1",
"astro-seo": "^0.8.0",
"bootstrap": "^5.3.2",
"tailwindcss": "^3.0.24"
},
"devDependencies": {
"wrangler": "^3.15.0"
}
}
2 changes: 1 addition & 1 deletion tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,css}'],
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
Expand Down

0 comments on commit 2ada53c

Please sign in to comment.