add remesh and curvature news #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Receive_PR | |
# read-only repo token | |
# no access to secrets | |
on: [push,pull_request,workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Change BASE_PATH | |
run: yq -i '.JB.BASE_PATH = "https://cgal.github.io/cgal-web"' _config.yml | |
- name: Remove demo/ (temporarily) | |
run: rm -rf demo/ | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- name: Build with Jekyll | |
uses: actions/jekyll-build-pages@v1 | |
with: | |
source: ./ | |
destination: ./_site | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
- name: Create PR number file | |
run: | | |
echo "${{ github.event.number }}" > pr_number.txt | |
- name: Upload PR number file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pr_number | |
path: pr_number.txt |