diff --git a/.github/workflows/deploy-now.yaml b/.github/workflows/deploy-now.yaml new file mode 100644 index 0000000..b521b4e --- /dev/null +++ b/.github/workflows/deploy-now.yaml @@ -0,0 +1,34 @@ +name: Deploy Now + +on: + - push + - workflow_dispatch + +jobs: + deploy-now: + runs-on: ubuntu-latest + steps: + - name: Fetch project data + uses: ionos-deploy-now/retrieve-project-info-action@v1 + id: project + with: + api-key: ${{ secrets.IONOS_API_KEY }} + project: ${{ secrets.IONOS_PROJECT_ID }} + service-host: api-eu.ionos.space + - name: checkout + if: ${{ steps.project.outputs.deployment-enabled == 'true' }} + uses: actions/checkout@v2 + with: + submodules: 'recursive' + - name: Deploy build + if: ${{ steps.project.outputs.deployment-enabled == 'true' }} + uses: ionos-deploy-now/deploy-to-ionos-action@v1 + with: + api-key: ${{ secrets.IONOS_API_KEY }} + bootstrap-deploy: ${{ steps.project.outputs.bootstrap-deploy }} + branch-id: ${{ steps.project.outputs.branch-id }} + dist-folder: ./ + project: ${{ secrets.IONOS_PROJECT_ID }} + remote-host: ${{ steps.project.outputs.remote-host }} + service-host: api-eu.ionos.space + storage-quota: ${{ steps.project.outputs.storage-quota }} diff --git a/README.md b/README.md index 6908ac0..eed9705 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,37 @@ -# BitBox -Evolution of https://github.com/AlexanderEDavis/Binary-Light-Box which replaces the micro:bit for an Arduino +## Welcome to GitHub Pages + +You can use the [editor on GitHub](https://github.com/AlexanderEDavis/BitBox/edit/main/README.md) to maintain and preview the content for your website in Markdown files. + +Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. + +### Markdown + +Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for + +```markdown +Syntax highlighted code block + +# Header 1 +## Header 2 +### Header 3 + +- Bulleted +- List + +1. Numbered +2. List + +**Bold** and _Italic_ and `Code` text + +[Link](url) and ![Image](src) +``` + +For more details see [Basic writing and formatting syntax](https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax). + +### Jekyll Themes + +Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/AlexanderEDavis/BitBox/settings/pages). The name of this theme is saved in the Jekyll `_config.yml` configuration file. + +### Support or Contact + +Having trouble with Pages? Check out our [documentation](https://docs.github.com/categories/github-pages-basics/) or [contact support](https://support.github.com/contact) and we’ll help you sort it out. diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..3397c9a --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-architect \ No newline at end of file