bespinian / bespinian.io Goto Github PK
View Code? Open in Web Editor NEWThe bespinian.io website
Home Page: https://bespinian.io
License: Other
The bespinian.io website
Home Page: https://bespinian.io
License: Other
Add a section to the homepage that highlights the two or three newest blog posts with their title and potentially the description.
Pull data from the blog's rss feed.
We don't want to cache any html
files. See if we can extend the existing non caching behaviour of index.html
to all html
documents using a glob or similar.
Example:
We should clean that up.
We need to put in place at 301
redirect funnelling all requests for www.bespinian.io
to bespinian.io
.
Since the integration with dockerhub is not ideal anymore we should migrate to ghcr.
Building and pushing the page could be easily done in a workflow like this:
name: Create and publish a Docker image
on:
push:
branches: ['main']
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
The image will then be published to: ghcr.io/bespinian/bespinian.io:main
Hi everyone
Problem
Last time I forgot to lint before merging to main branch. The pipeline failed.
Solution
Enable linting on all branches.
Remove Google Analytics and the cookie banner
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.