Browse Source

rename rom in docs to force reload irrespective of caching

Thomas B 1 month ago
parent
commit
241f79c32b
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      .github/workflows/docs.yml

+ 4
- 1
.github/workflows/docs.yml View File

@@ -38,7 +38,10 @@ jobs:
38 38
         shell: bash
39 39
         run: |
40 40
           make GBDK_HOME=${{github.workspace}}/gbdk GBDK_RELEASE=1 clean all -j $(nproc)
41
-          cp duality.gb docs
41
+          DATE=$(date "+%Y_%m_%d_%H_%M_%S")
42
+          cp duality.gb docs/duality.gb
43
+          cp duality.gb docs/duality_$DATE.gb
44
+          sed -i "s/duality.gb/duality_$DATE.gb" docs/index.html
42 45
 
43 46
       - name: Setup Pages
44 47
         uses: actions/configure-pages@v2

Loading…
Cancel
Save