Skip to content

Commit

Permalink
Update php.yml
Browse files Browse the repository at this point in the history
persist and deploy
  • Loading branch information
bobbravo2 authored Jan 19, 2024
1 parent 057f175 commit e492146
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e492146

Please sign in to comment.