Skip to content

Commit

Permalink
Use astro
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaitanLyss committed Aug 7, 2024
1 parent fad0b57 commit 2c85c0b
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'dist'
- 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
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 2c85c0b

Please sign in to comment.