mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-14 17:05:02 +01:00
Update pages.yml
This commit is contained in:
parent
dc4352b9f0
commit
1fde4eddf0
1 changed files with 3 additions and 10 deletions
13
.github/workflows/pages.yml
vendored
13
.github/workflows/pages.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: github pages
|
||||
name: test
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -7,8 +7,8 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-20.04
|
||||
test:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -26,10 +26,3 @@ jobs:
|
|||
|
||||
- name: Build website
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue