Skip to content

Revert "ci: change artifact upload action to actions/upload-artifact@… #23

Revert "ci: change artifact upload action to actions/upload-artifact@…

Revert "ci: change artifact upload action to actions/upload-artifact@… #23

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-pages-artifact@v3
with:
path: "dist/"
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4