Skip to content

Commit

Permalink
Create pages.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Y. Meyer-Norwood <[email protected]>
  • Loading branch information
norwd authored Feb 13, 2023
1 parent 64b4e2b commit d8dcaec
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Deploy GitHub Pages"
run-name: "Deploy GitHub Pages"

on:
workflow_dispatch:
push:
branches: ["main"]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v3

- run: echo Building....

- uses: actions/upload-pages-artifact@v1

deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- id: deployment
uses: actions/deploy-pages@v1

0 comments on commit d8dcaec

Please sign in to comment.