diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 898f4fca42..217a36124f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,6 +15,9 @@ jobs: - name: Check out code uses: actions/checkout@v3 + - name: Configure GitHub Pages + uses: actions/configure-pages@v3 + - name: Set up Python uses: actions/setup-python@v4 with: @@ -33,9 +36,18 @@ jobs: run: | git config user.name "mike-ci-bot" git config user.email "missionpinball@users.noreply.github.com" - git fetch - git checkout gh-pages - git pull - git checkout main - mike deploy --push 0.57 latest + # git fetch + # git checkout gh-pages + # git pull + # git checkout main + mike deploy 0.57 latest mike set-default --push latest + + - name: Upload Artifact + uses: actions/upload-pages-artifact@v2 + with: + # upload entire directory + path: 'site' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file