show changes
authorMichael Wallner <mike@php.net>
Thu, 9 Sep 2021 17:51:01 +0000 (19:51 +0200)
committerMichael Wallner <mike@php.net>
Thu, 9 Sep 2021 17:51:01 +0000 (19:51 +0200)
.github/workflows/publish.yml

index c39bdcbe446d395aeba047fbe6ba70869c621790..3d654741fce4f90d27e4411b6e550d168fb8cdd9 100644 (file)
@@ -36,6 +36,10 @@ jobs:
         with:
           repository: mdref/mdref-raphf
           path: refs/raphf
+      - uses: actions/checkout@v2
+        with:
+          repository: mdref/mdref.github.io
+          path: html
       - name: Install dependencies
         run: |
           sudo apt-get update -y
@@ -65,7 +69,7 @@ jobs:
           composer install
       - name: Generate HTML
         run: |
-          mkdir html
+          mkdir -p html
           cd html
           ../bin/ref2html . ../refs/*
       - name: Generate STUBs
@@ -74,6 +78,10 @@ jobs:
           for ext in http pq; do
             ../bin/ref2stub ../refs/$ext
           done
+      - name: Show changes
+        run: |
+          cd html
+          git diff
       - uses: crazy-max/ghaction-github-pages@v2
         if: success()
         env: