Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert Pull Request target #123

Merged
merged 3 commits into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- main # deploy main. If your branch is `master`, you'll have to replace that throughout this file.
pull_request_target: # This will publish a site preview on every pull request, and also run the build command to test if the site is broken.
pull_request: # This will publish a site preview on every pull request, and also run the build command to test if the site is broken.

jobs:
deploy:
Expand All @@ -29,7 +29,7 @@ jobs:
# run: echo "DOMAIN=${{ github.actor }}.github.io" >> $GITHUB_ENV

- name: Checkout website repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true # fetch the theme
# you need to set this as an environment env if your repo or any submodules (e.g the theme) is private:
Expand All @@ -39,10 +39,11 @@ jobs:
run: echo "BASE_URL=https://${{ env.DOMAIN }}/${{ github.event.repository.name }}/" >> $GITHUB_ENV

- name: Setup PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f

- name: Build website
run: |
sudo apt update
sudo apt install -y graphviz doxygen doxygen-latex python3-docutils qtbase5-dev libqt5svg5-dev
pdm sync -d --no-self
pdm run meson setup --prefix=/home/runner/work/install -D docs=true -D only-docs=true -D docs-siteurl=$BASE_URL builddir
Expand Down
Loading