checkout the reopo first
diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml
index ceb4b20..f4ca771 100644
--- a/.github/workflows/nightlies.yml
+++ b/.github/workflows/nightlies.yml
@@ -5,12 +5,13 @@
     env:
       INFILE: /ghactions-publishing.md
     steps:
+    - uses: actions/checkout@master
     - uses: docker://pandoc/core:2.9
       with:
         args: >-
           --standalone
           --output=ghactions-publishing.html
-            ${{ $GITHUB_ACTION_PATH/ }}../../${{ env.INFILE }}
+            ${{ env.INFILE }}
   curl:
     runs-on: ubuntu-latest
     needs: md_to_html