diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b6544b7..74ec969 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,12 +11,26 @@ permissions: jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - # Build the demo page with PHP, because, why not? CPU's are cheap in 2024 🤭 (and we support Unicode 🎉) - - name: build demo page - run: php index.php > index.html + - name: checkout + uses: actions/checkout@v3 + # Build the demo page with PHP, because, why not? CPU's are cheap in 2024 🤭 (and we support Unicode 🎉) + - name: build demo page + run: php index.php > index.html + - name: Configure GitHub Pages + uses: actions/configure-pages@v3 + - name: Upload GitHub Pages artifact + uses: actions/upload-pages-artifact@v2 + with: + path: '.' + deploy: + environment: + name: github-pages + url: ${{steps.deployment.outputs.page_url}} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2