Skip to content

Commit

Permalink
astro action v2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
swift502 committed Jan 10, 2024
1 parent 7213e80 commit 8344737
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: Build And Deploy

on: workflow_dispatch

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site output
uses: withastro/action@v1

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deploy.outputs.url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
- name: Build and Deploy
id: deploy
uses: withastro/action@configure-site
# when this is released, it will be withastro/action@v2

0 comments on commit 8344737

Please sign in to comment.