Skip to content

Commit

Permalink
testing the deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aquaticcalf committed Dec 15, 2024
1 parent 9cef1ca commit 0f76a2f
Show file tree
Hide file tree
Showing 22 changed files with 6,380 additions and 260 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to GitHub Pages

on:
push:
branches: [ main ]
workflow_dispatch:

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

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
29 changes: 27 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
.jekyll-cache
_site
# build output
dist/

# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# jetbrains setting folder
.idea/

# vscode setting folder
.vscode/
11 changes: 0 additions & 11 deletions _includes/top.html

This file was deleted.

24 changes: 0 additions & 24 deletions _layouts/withlogo.html

This file was deleted.

16 changes: 0 additions & 16 deletions about.html

This file was deleted.

5 changes: 0 additions & 5 deletions alpine.js

This file was deleted.

10 changes: 10 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// @ts-check
import { defineConfig } from 'astro/config'

import tailwind from '@astrojs/tailwind'

// https://astro.build/config
export default defineConfig({
site: 'https://certifychain.github.io',
integrations: [tailwind()]
})
12 changes: 0 additions & 12 deletions donate.html

This file was deleted.

48 changes: 0 additions & 48 deletions faq.html

This file was deleted.

25 changes: 0 additions & 25 deletions features.html

This file was deleted.

10 changes: 0 additions & 10 deletions index.html

This file was deleted.

Loading

0 comments on commit 0f76a2f

Please sign in to comment.