Compare commits

..

No commits in common. "main" and "ssg-migration" have entirely different histories.

8 changed files with 3 additions and 297 deletions

View file

@ -1,42 +0,0 @@
name: Content update
about: Content creation or edition
title: '[Content]: '
ref: 'content-update'
assignees:
- aleidk
labels:
- Priority/Low
- Severity/Low
- Status/Pending
- Type/Content
body:
- type: dropdown
id: topic
attributes:
label: "Topic:"
multiple: true
default: 0
options:
- Garden
- Blog
- Devlog
- Other
validations:
required: true
- type: textarea
id: content
attributes:
label: "Content description:"
description: Brief ideas of what this content is about.
placeholder: Lorem Ipsum...
validations:
required: true
- type: textarea
id: extra
attributes:
label: "Extra data and references:"
placeholder: Lorem Ipsum...
validations:
required: false

View file

@ -1,60 +0,0 @@
name: Feature request
about: Request a new feature to be added
title: '[Feature]: '
ref: 'development'
assignees:
- aleidk
labels:
- Priority/Low
- Severity/Low
- Status/Pending
- Type/Feature
body:
- type: markdown
attributes:
value: |
We appreciate your feedback on how to improve this project. Please be sure to include as much details and any resources if possible!
- type: dropdown
attributes:
multiple: false
label: Type of Feature
default: 0
options:
- "✨ New Feature"
- "📝 Documentation"
- "🎨 Style and UI"
- "🔨 Code Refactor"
- "⚡ Performance Improvements"
- "✅ New Test"
- "🪢 Architecture"
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Give us a brief description of the feature or enhancement you would like.
placeholder: As <who> <when> <where>, I want <what> because <why>
validations:
required: true
- type: textarea
id: completion-criteria
attributes:
label: Completion criteria
description: Tell us what this feature needs to do to be considered completed using verificable items.
placeholder: |
- [ ] Read the configuration file using the yaml format
- [ ] Fetch data from an the json-placehoder API
- [ ] Save the data in the database
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: Additional Information
description: |
Please leave any additional information on the feature request that could be helpful! like proposed solutions, examples, links, screenshots, etc.

View file

@ -1,93 +0,0 @@
name: Bug report
about: Something isn't working as expected
title: '[Bug]: '
ref: 'development'
assignees:
- aleidk
labels:
- Priority/Low
- Severity/Low
- Status/Pending
- Type/Bug
body:
- type: markdown
attributes:
value: |
We appreciate your feedback on how to improve this project. Please be sure to include as much details and any resources if possible!
- type: checkboxes
id: terms
attributes:
label: Before submitting, I checked...
options:
- label: The [issue tracker](../) in case this has been reported before
required: true
- label: The severity of the bug
required: true
validations:
required: true
- type: textarea
id: expected
attributes:
label: "Expected behavior:"
description: A clear and concise description of what you expected to happen. Include screenshots and/or logs if relevant.
placeholder: As <who> <when> <where>, I want <what> because <why>
validations:
required: true
- type: textarea
id: current
attributes:
label: "Current behavior:"
description: A clear and concise description of what actually happened. Include screenshots and/or logs if relevant.
placeholder: As <who> <when> <where>, I want <what> because <why>
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: "Steps to reproduce:"
description: Anambiguous set of steps to reproduce this bug. Include code snippets if relevant.
placeholder: |
1. Use x argument / navigate to
2. Fill this information
3. Go to...
4. See error
validations:
required: true
- type: dropdown
attributes:
multiple: false
label: Is this a regresion?
description: Did this behaviour used to work in the previous version?
default: 0
options:
- "I don't know"
- "This is a new feature"
- "Yes"
- "No"
validations:
required: true
- type: textarea
id: environment
attributes:
label: "Your environment:"
description: Tell us details about the environment you experienced the bug in. A minimal/isolated enviroment to reproduce would be apreciated.
placeholder: |
- Version used:
- Browser Name and version:
- Operating System and version (desktop or mobile):
- Link to your project:
validations:
required: false
- type: textarea
id: additional-information
attributes:
label: "Additional Information:"
description: |
Please leave any additional information on the bug that could be helpful! like proposed solutions, examples, links, screenshots, etc.

View file

@ -1,65 +0,0 @@
name: Publish image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
create-docker-images:
runs-on: host
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.alecodes.page
username: ${{ vars.CONTAINER_REGISTRY_USER }}
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
git.alecodes.page/alecodes/page:latest
git.alecodes.page/alecodes/page:${{ github.sha }}
deploy:
runs-on: ubuntu-latest
needs:
- create-docker-images
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: 'Docker Stack Deploy'
uses: https://github.com/cssnr/stack-deploy-action@v1
with:
host: ${{ vars.DOCKER_SWARM_HOST }}
port: ${{ vars.DOCKER_SWARM_PORT }}
user: ${{ secrets.DOCKER_SWARM_USER }}
ssh_key: '${{ secrets.DOCKER_SWARM_SSH_KEY }}'
file: 'docker-stack.yaml'
name: 'personal_page'
rebase:
runs-on: ubuntu-latest
needs: deploy
if: success()
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: '0'
ref: content-update
- name: Update branch
run: |
set -x
git config --global user.name "robo"
git config --global user.email "robo@alecodes.page"
git rebase origin/main
git push origin content-update --force-with-lease

View file

@ -1,9 +0,0 @@
FROM --platform=linux/amd64 ghcr.io/getzola/zola:v0.19.2 AS builder
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=builder /project/dist /public

View file

@ -1,9 +1,9 @@
from_latest_tag = true from_latest_tag = true
ignore_merge_commits = true ignore_merge_commits = false
disable_changelog = false disable_changelog = false
disable_bump_commit = false disable_bump_commit = false
generate_mono_repository_global_tag = true generate_mono_repository_global_tag = true
branch_whitelist = ["main", "release/**"] branch_whitelist = []
skip_ci = "[skip ci]" skip_ci = "[skip ci]"
skip_untracked = false skip_untracked = false
pre_bump_hooks = [] pre_bump_hooks = []
@ -14,7 +14,6 @@ post_package_bump_hooks = []
[git_hooks] [git_hooks]
[commit_types] [commit_types]
content = { changelog_title = "Content"}
[changelog] [changelog]
path = "CHANGELOG.md" path = "CHANGELOG.md"

View file

@ -2,4 +2,4 @@
+++ +++
# This is a **really** awesome page :3 # This is a awesome page :D

View file

@ -1,24 +0,0 @@
networks:
reverse_proxy:
external: true
services:
page:
image: git.alecodes.page/alecodes/page:${GITHUB_SHA:-latest}
restart: unless-stopped
networks:
- reverse_proxy
deploy:
rollback_config:
failure_action: continue
update_config:
delay: 2s
failure_action: rollback
order: start-first
placement:
constraints:
- node.labels.services_kind==projects
labels:
- traefik.enable=true
- traefik.http.routers.personal_page.rule=Host(`alecodes.page`)
- traefik.http.services.personal_page.loadbalancer.server.port=80