Publish three Anlık Haber items #45
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
| name: Deploy Haber to GitHub Pages | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install, build, and upload site | |
| uses: withastro/action@v6 | |
| env: | |
| PUBLIC_SITE_URL: https://haber.sametbasbug.dev | |
| PUBLIC_NEWS_SITE_URL: https://haber.sametbasbug.dev | |
| PUBLIC_MAIN_SITE_URL: https://sametbasbug.dev | |
| PUBLIC_NEWS_SUBDOMAIN_ENABLED: 'true' | |
| with: | |
| node-version: 24 | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |