Skip to content

Bump actions/github-script from 6 to 7 #94

Bump actions/github-script from 6 to 7

Bump actions/github-script from 6 to 7 #94

Workflow file for this run

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