Skip to content

ci: change artifact upload action to actions/upload-artifact@v4 in de… #22

ci: change artifact upload action to actions/upload-artifact@v4 in de…

ci: change artifact upload action to actions/upload-artifact@v4 in de… #22

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Build the site
uses: withastro/action@v1
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: "dist/"
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4