diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e59597..65396ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,11 @@ name: Build on: [push, pull_request] +permissions: + id-token: write + contents: read + pages: write + jobs: ubuntu-build: runs-on: ubuntu-latest @@ -35,3 +40,27 @@ jobs: with: name: pdf-macos path: '*.pdf' + deploy-to-github-pages: + needs: ubuntu-build + runs-on: ubuntu-latest + # if: github.ref == 'refs/heads/main' + steps: + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Download PDF artifact + uses: actions/download-artifact@v4 + with: + name: pdf-linux + path: ./slides + - name: Download PDF artifact + uses: actions/download-artifact@v4 + with: + name: html + path: ./ + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/00-intro.tex b/00-intro/00-intro.tex similarity index 100% rename from 00-intro.tex rename to 00-intro/00-intro.tex diff --git a/00-intro.toc b/00-intro/00-intro.toc similarity index 100% rename from 00-intro.toc rename to 00-intro/00-intro.toc diff --git a/01-git.tex b/01-git/01-git.tex similarity index 100% rename from 01-git.tex rename to 01-git/01-git.tex diff --git a/01-git.toc b/01-git/01-git.toc similarity index 100% rename from 01-git.toc rename to 01-git/01-git.toc diff --git a/images/git-flow.png b/01-git/images/git-flow.png similarity index 100% rename from images/git-flow.png rename to 01-git/images/git-flow.png diff --git a/images/github-flow.png b/01-git/images/github-flow.png similarity index 100% rename from images/github-flow.png rename to 01-git/images/github-flow.png diff --git a/images/in-case-of-fire.png b/01-git/images/in-case-of-fire.png similarity index 100% rename from images/in-case-of-fire.png rename to 01-git/images/in-case-of-fire.png diff --git a/02-cmake.tex b/02-cmake/02-cmake.tex similarity index 100% rename from 02-cmake.tex rename to 02-cmake/02-cmake.tex diff --git a/02-cmake.toc b/02-cmake/02-cmake.toc similarity index 100% rename from 02-cmake.toc rename to 02-cmake/02-cmake.toc diff --git a/03-linux.tex b/03-linux/03-linux.tex similarity index 100% rename from 03-linux.tex rename to 03-linux/03-linux.tex diff --git a/03-linux.toc b/03-linux/03-linux.toc similarity index 100% rename from 03-linux.toc rename to 03-linux/03-linux.toc diff --git a/04-cpp-project-structure.tex b/04-cpp-project-structure/04-cpp-project-structure.tex similarity index 100% rename from 04-cpp-project-structure.tex rename to 04-cpp-project-structure/04-cpp-project-structure.tex diff --git a/04-cpp-project-structure.toc b/04-cpp-project-structure/04-cpp-project-structure.toc similarity index 100% rename from 04-cpp-project-structure.toc rename to 04-cpp-project-structure/04-cpp-project-structure.toc diff --git a/05-embedded-arm.tex b/05-embedded-arm/05-embedded-arm.tex similarity index 100% rename from 05-embedded-arm.tex rename to 05-embedded-arm/05-embedded-arm.tex diff --git a/05-embedded-arm.toc b/05-embedded-arm/05-embedded-arm.toc similarity index 100% rename from 05-embedded-arm.toc rename to 05-embedded-arm/05-embedded-arm.toc diff --git a/index.html b/index.html new file mode 100644 index 0000000..431d438 --- /dev/null +++ b/index.html @@ -0,0 +1,57 @@ + + +
+ + +