Update nav.html #32
This file contains hidden or 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
| # 🚀 Deploy Jekyll with GitHub Pages | |
| name: "Deploy Jekyll with GitHub Pages" | |
| on: | |
| push: | |
| branches: ["master"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| name: 📦 Build Jekyll Site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⬇️ Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: ⚙️ Configure GitHub Pages | |
| uses: actions/configure-pages@v5 | |
| - name: 🔨 Build Jekyll Site | |
| uses: actions/jekyll-build-pages@v1 | |
| with: | |
| source: ./site | |
| destination: ./_site | |
| - name: 📤 Upload Artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| deploy: | |
| name: 🚀 Deploy to GitHub Pages | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: 🚚 Deploy | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |