diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index d7510f6..95e9226 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -78,13 +78,29 @@ jobs: if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository == 'cypherpunks-core/cypherpunks-core.github.io' needs: build runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: github-pages + path: _site + + - name: Extract artifact + run: | + cd _site + tar -xvf artifact.tar + rm artifact.tar + - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./_site + publish_branch: gh-pages + force_orphan: true # Quality Checks (run on PRs) quality-check: