Skip to content

Commit

Permalink
Merge branch 'coderdojov2' of github.com:CoderDojoAlbaIulia/coderdojo…
Browse files Browse the repository at this point in the history
…albaiulia.github.io into coderdojov2
  • Loading branch information
RazvanBalota committed Jan 23, 2024
2 parents 94a4731 + cb5b0a6 commit 9280ab9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy_astro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to GitHub 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@v3
- name: Install, build, and upload your site
uses: withastro/action@v1
with:
path: .
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 astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import react from "@astrojs/react";

// https://astro.build/config
export default defineConfig({
site: 'https://coderdojo.ai3.ro',
integrations: [
tailwind(),
react({
Expand Down
1 change: 1 addition & 0 deletions public/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coderdojo.ai3.ro

0 comments on commit 9280ab9

Please sign in to comment.