Skip to content

Bump withastro/action from 2.0.1 to 2.0.2 in the ci-dependencies group #3

Bump withastro/action from 2.0.1 to 2.0.2 in the ci-dependencies group

Bump withastro/action from 2.0.1 to 2.0.2 in the ci-dependencies group #3

Workflow file for this run

name: "Deploy to GitHub Pages"
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: "Install, build, and upload your site"
uses: withastro/action@604679169f7a347c33065aab494742732d401e0e # v2.0.2
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
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@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5