Disable jekyll #6
This file contains 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 docs | |
on: | |
push: | |
paths: ['src/**', 'astro.config.mjs', '.github/workflows/deploy-docs.yml', 'bun.lockb'] | |
branches: | |
- main | |
release: | |
types: [created] | |
env: | |
SITE_URL: https://shaitanlyss.github.io/selenite-docs/ | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Disable jekyll | |
run: mkdir dist && touch dist/.nojekyll | |
- name: Install, build, and upload your site | |
uses: withastro/action@v2 | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{steps.deployment.outputs.page_url}} | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |