diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8dd7703..b5a24a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,11 @@ jobs: if git commit -m $(date -Im); then git push fi + - name: upload files + id: deployweb + uses: actions/upload-pages-artifact@v3 + with: + path: ./ - name: Always Save Primes id: cache-primes-save if: always() && steps.cache-primes-restore.outputs.cache-hit != 'true' @@ -37,3 +42,12 @@ jobs: key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }} path: | fonts-main + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.output.page_url }} + needs: generate index + steps: + - name: deploy webdata + id: deployweb + uses: actions/deploy-pages@v4