Skip to content

Commit

Permalink
move from adeventronics
Browse files Browse the repository at this point in the history
  • Loading branch information
JosepMartiElias committed Dec 1, 2023
1 parent 9d9265d commit 02dc617
Show file tree
Hide file tree
Showing 17 changed files with 69,057 additions and 5 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy to Github Pages

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.10'
architecture: 'x64'

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
- name: mkdocs build
run: |
pip freeze
pip --version
python --version
mkdocs --version
mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env
_site
.DS_Store
31 changes: 31 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
image: python:3.9-slim

before_script:
# install Git for the mkdocs revision plugin
- time apt update && apt-get install -y git
# Install mkdocs and theme
- time pip install -r requirements.txt

test:
stage: test
script:
- time mkdocs build --site-dir test
artifacts:
paths:
- test
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: never

pages:
stage: deploy
variables:
ENABLED_GIT_REVISION_DATE: "true"
GIT_DEPTH: 1000
script:
- time mkdocs build --site-dir public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Adventronics Calendar Challenge

https://josepmartielias.github.io/adventronics/
11 changes: 11 additions & 0 deletions docs/barduino.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
hide:
- navigation
- toc
---

# Barduino

![barduino](images/Barduino4board.svg)

[Here](https://fablabbcn-projects.gitlab.io/electronics/barduino-docs/) you can find a bit more info about the Barduino.
26 changes: 26 additions & 0 deletions docs/howto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
hide:
- navigation
- toc
---

# How to participate

Embark on a dynamic journey with our Adventronics Calendar – an electrifying twist on the traditional advent calendar! Instead of the usual sweet treats, each of the 24 windows reveals a challenge centered around the Barduino. Every day we will share with you in this page more details of the challenge and a possible solution, but be creative with your own solutions. These challenges encompass coding, design, and entertaining activities that you can seamlessly weave into your December routine. While the first five participants to finish the challenge will earn a coveted Barduino sweatshirt*, the true essence lies in the joy of learning, the thrill of tackling electronics, and the camaraderie of sharing your experiences with fellow participants.

## Progress

To track your progress, share a video or photo in our dedicated [Telegram](
https://t.me/+DbXVZ22VOkI3NDVk) group using the hashtag #AdventronicsDay followed by the day's number (e.g., #AdventronicsDay05). Utilize this group to seek guidance, pose questions, and exchange insights with the vibrant community of participants. Get ready for 24 days of innovation, learning, and festive fun! :christmas_tree: :high_voltage:

## Social media

You can share it on social media tagging **@fablabbcn** and using the hashtag **#adventronics** and/or **#barduino** and we will repost so we can have a collection of challenges.

## Schedule

Every morning the exercise for the day will be explained in this page and an example will be proposed.

---

<sup>\* If there is less than 5 finishers, the prize will be given to the ones with more challenges done if they completed more than 12.</sup>
Loading

0 comments on commit 02dc617

Please sign in to comment.