diff --git a/.github/workflows/upload-artifact.yml b/.github/workflows/upload-artifact.yml index cca6384..fcbc53b 100644 --- a/.github/workflows/upload-artifact.yml +++ b/.github/workflows/upload-artifact.yml @@ -23,3 +23,10 @@ jobs: with: name: my-artifact path: path/to/artifact/world.txt + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.ref == 'refs/heads/main' }} + with: + github_token: ${{ secrets.GH_TOKEN }} + publish_dir: ./public