diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index da8973b..18c0210 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,15 +1,13 @@ name: Deploy Hugo site to GitHub Pages on: push: - branches: [ main, js/ci ] + branches: [ main ] pull_request: branches: [ main ] workflow_dispatch: permissions: contents: read - pages: write - id-token: write concurrency: group: "pages" @@ -60,8 +58,12 @@ jobs: path: jsedy.com/public deploy: + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} needs: build runs-on: ubuntu-latest + permissions: + pages: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7f791ba --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Jiří Šedý + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..753abeb --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +# jsedy.com + +Personal portfolio and FPV drone showcase of **Jiří Šedý** + +🌐 **Live site:** [https://jsedy.com](https://jsedy.com) + +## 🧩 Overview + +This repository contains the complete source code of my personal website, built with **[Hugo](https://gohugo.io/)** and the **[PaperMod](https://github.com/adityatelange/hugo-PaperMod)** theme + +The site serves as: +- A portfolio of my **FPV drone projects** and cinematic shots +- A short overview of my **IT background** +- A simple **contact and pricing** page for collaborations + +It’s multilingual (🇨🇿 Czech & 🇬🇧 English) and automatically deployed via **GitHub Actions** to **GitHub Pages** + +## ⚙️ Technical setup + +### Local development + +```bash +# clone the repository (including submodules) +git clone --recurse-submodules https://github.com/jsedy7/jsedy7.github.io.git +cd jsedy7.github.io/jsedy.com + +# start local Hugo server +hugo server -D +``` + +Then open http://localhost:1313 in your browser + +## 🚀 Deployment + +Deployment is fully automated via **GitHub Actions** + +Every push to the `main` branch triggers: +1. **Hugo build** inside the `jsedy.com` directory +2. **Static output generation** to `jsedy.com/public` +3. **Upload as artifact** +4. **Deployment to GitHub Pages** + +## 📄 License +This project is released under the [MIT License](LICENSE) +Feel free to use it as a reference for your own Hugo + PaperMod setup diff --git a/jsedy.com/hugo.yaml b/jsedy.com/hugo.yaml index ec5fee6..07c1fda 100644 --- a/jsedy.com/hugo.yaml +++ b/jsedy.com/hugo.yaml @@ -73,7 +73,7 @@ languages: imageWidth: 180 imageHeight: 180 buttons: - - name: FPV Pilot + - name: FPV - name: Prometheus - name: Monitoring - name: Incident management @@ -118,7 +118,7 @@ languages: imageWidth: 180 imageHeight: 180 buttons: - - name: FPV Pilot + - name: FPV - name: Prometheus - name: Monitoring - name: Incident management