Skip to content

Commit

Permalink
Merge pull request #8 from FrankensteinVariorum/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Yuying-Jin authored Aug 14, 2023
2 parents 7190ae5 + ac3690d commit dbbe93b
Show file tree
Hide file tree
Showing 218 changed files with 365,877 additions and 51,995 deletions.
40 changes: 25 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Deploy to GitHub Pages
name: CI

on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: [ main ]
pull_request:
branches: [ main]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

Expand All @@ -23,17 +23,27 @@ jobs:
- name: Install, build, and upload your site
uses: withastro/action@v0
with:
# path: . # The root location of your Astro project inside the repository. (optional)
node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
# 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)

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
# path: . # The root location of your Astro project inside the repository. (optional)
node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
# 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)
- name: Pushes to another repo
id: deployment
uses: actions/deploy-pages@v1
with:
source-directory: 'output'
destination-github-username: 'FrankensteinVariorum'
destination-repository-name: 'frankensteinvariorum.github.io'
target-branch: main


# deploy:
# needs: build
# runs-on: ubuntu-latest
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v1

1 change: 1 addition & 0 deletions CNAME.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
frankensteinvariorum.org
16 changes: 11 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,26 @@ import { defineConfig } from 'astro/config';
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import image from "@astrojs/image";
// import netlify from "@astrojs/netlify/functions";

// https://astro.build/config

export default defineConfig({
integrations: [tailwind(), react(), image()],
vite: {
assetsInclude: "**/*.xml",
ssr: {
external: ['firebase/database']
},
}
},
fileExtensions: {
".tei": "tsx"
},
site: 'https://frankensteinvariorum.github.io', // https://docs.astro.build/en/guides/deploy/github/
base: '/fv-web2023',
});
site: 'https://frankensteinvariorum.github.io',
// https://docs.astro.bnpm install netlify-cli -guild/en/guides/deploy/github/
// base: '/fv-web2023',
// output: "server",
// adapter: netlify(),
// build: {
// split: true,
// },
});
18 changes: 9 additions & 9 deletions dist/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/ico" href="/favicon.ico">
<meta name="generator" content="Astro v2.9.6">
<meta name="generator" content="Astro v2.10.1">
<title></title>
<link rel="stylesheet" href="/fv-web2023/_astro/404.a2450ec6.css" />
<link rel="stylesheet" href="/fv-web2023/_astro/index.fa0f08b1.css" /></head>
<link rel="stylesheet" href="/_astro/404.e4135a07.css" />
<link rel="stylesheet" href="/_astro/index.6aaf91ae.css" /></head>
<body>
<header>
<nav>
<a href="/fv-web2023/">Home</a>
<a href="/fv-web2023/viewer/1818/vol_1_preface">Variorum Viewer</a>
<a href="/fv-web2023/about">About</a>
<a href="/fv-web2023/method">Method</a>
<a href="/fv-web2023/data">Data</a>
<a href="/fv-web2023/people">People</a>
<a href="/">Home</a>
<a href="/viewer/MS/box_c56_from_chapter_1">Variorum Viewer</a>
<a href="/about">About</a>
<a href="/method">Method</a>
<a href="/data">Data</a>
<a href="/people">People</a>
</nav>
</header>
<div id="content-area">
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbbe93b

Please sign in to comment.