Skip to content

Commit

Permalink
ci: Add pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney authored Oct 4, 2023
1 parent bc92a76 commit 52e6c86
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pages
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir dist
cp badges.md dist/README.md
- uses: actions/upload-pages-artifact@v2
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v2
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 52e6c86

Please sign in to comment.