-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d9265d
commit 02dc617
Showing
17 changed files
with
69,057 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.env | ||
_site | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Adventronics Calendar Challenge | ||
|
||
https://josepmartielias.github.io/adventronics/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.