Update pages.yml

This commit is contained in:
nora 2024-08-05 23:19:34 +02:00 committed by GitHub
parent dc4352b9f0
commit 1fde4eddf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
name: github pages name: test
on: on:
push: push:
@ -7,8 +7,8 @@ on:
pull_request: pull_request:
jobs: jobs:
deploy: test:
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -26,10 +26,3 @@ jobs:
- name: Build website - name: Build website
run: cargo run --manifest-path ./builder/Cargo.toml build run: cargo run --manifest-path ./builder/Cargo.toml build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist