From 432be190edde61144788b96f85d0fc2fdcab0cc8 Mon Sep 17 00:00:00 2001 From: jhdark Date: Mon, 3 Nov 2025 11:02:57 -0500 Subject: [PATCH 1/3] remove folder from url --- myst.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/myst.yml b/myst.yml index 5e88e5d..daf77e3 100644 --- a/myst.yml +++ b/myst.yml @@ -20,13 +20,13 @@ site: hide_footer_links : true nav: - title: Abstracts - url: /OSSFE_2026/abstracts + url: /abstracts - title: Registration - url: /OSSFE_2026/registration + url: /registration - title: Program - url: /OSSFE_2026/program + url: /program - title: Sponsorship - url: /OSSFE_2026/sponsor + url: /sponsor - title: Contact - url: /OSSFE_2026/contact + url: /contact domains: [] From 6be7b3fd46964fe0e85b36a1f0df47652f5bfcb6 Mon Sep 17 00:00:00 2001 From: jhdark Date: Mon, 3 Nov 2025 11:16:22 -0500 Subject: [PATCH 2/3] test deploy on PR's --- .github/workflows/deploy.yml | 48 +++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c8b3b7d..a35a206 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,45 +4,63 @@ name: MyST GitHub Pages Deploy on: push: - # Runs on pushes targeting the default branch branches: [main] -env: - # `BASE_URL` determines the website is served from, including CSS & JS assets - BASE_URL: /${{ github.event.repository.name }} + pull_request: + branches: [main] + workflow_dispatch: -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +# Required for GitHub Pages permissions: contents: read pages: write id-token: write - # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +# Avoid overlapping deploys concurrency: - group: 'pages' + group: pages cancel-in-progress: false +env: + # `BASE_URL` determines the website is served from, including CSS & JS assets + BASE_URL: /${{ github.event.repository.name }} + + jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + # Configures the Pages environment; also provides useful outputs - name: Setup Pages - uses: actions/configure-pages@v3 + id: pages + uses: actions/configure-pages@v5 + - uses: actions/setup-node@v4 with: node-version: 18.x + - name: Install MyST Markdown run: npm install -g mystmd + - name: Build HTML Assets run: myst build --html + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: './_build/html' + path: ./_build/html + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 + with: + # Previews for PRs, production for main + preview: ${{ github.event_name == 'pull_request' }} \ No newline at end of file From c3a38fa8f672d2586937613ffd8e8470847dbb07 Mon Sep 17 00:00:00 2001 From: jhdark Date: Mon, 3 Nov 2025 11:30:07 -0500 Subject: [PATCH 3/3] revert workflow --- .github/workflows/deploy.yml | 48 +++++++++++------------------------- 1 file changed, 15 insertions(+), 33 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a35a206..c8b3b7d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,63 +4,45 @@ name: MyST GitHub Pages Deploy on: push: + # Runs on pushes targeting the default branch branches: [main] - pull_request: - branches: [main] - workflow_dispatch: +env: + # `BASE_URL` determines the website is served from, including CSS & JS assets + BASE_URL: /${{ github.event.repository.name }} -# Required for GitHub Pages +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write -# Avoid overlapping deploys + # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: pages + group: 'pages' cancel-in-progress: false -env: - # `BASE_URL` determines the website is served from, including CSS & JS assets - BASE_URL: /${{ github.event.repository.name }} - - jobs: - build: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - # Configures the Pages environment; also provides useful outputs - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - + uses: actions/configure-pages@v3 - uses: actions/setup-node@v4 with: node-version: 18.x - - name: Install MyST Markdown run: npm install -g mystmd - - name: Build HTML Assets run: myst build --html - - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./_build/html - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: + path: './_build/html' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 - with: - # Previews for PRs, production for main - preview: ${{ github.event_name == 'pull_request' }} \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file