Skip to content

Commit

Permalink
Fix project routing
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanDa15 committed Oct 1, 2024
1 parent 9938ec5 commit be10c2b
Show file tree
Hide file tree
Showing 57 changed files with 86 additions and 3,792 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy astro to GH pages

on:
push:
branches:
- main

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install, build, and upload your site
uses: withastro/action@v3
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
# 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)

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@v4
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import tailwind from '@astrojs/tailwind';

// https://astro.build/config
export default defineConfig({
site: 'https://juanda15.github.io/',
base: '/portfolio',
integrations: [tailwind()],
output: 'static',
outDir: './docs',
i18n: {
defaultLocale: 'en',
locales: ['en', 'es'],
Expand Down
1 change: 0 additions & 1 deletion docs/_astro/about.DXvcj0kd.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/_astro/about.RaNXza6o.css

This file was deleted.

Loading

0 comments on commit be10c2b

Please sign in to comment.