Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvercr authored May 16, 2024
1 parent e083680 commit 095d565
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wranders/markdown-to-pages-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |-
index.md
- uses: actions/upload-pages-artifact@v3
with:
path: dist

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment

0 comments on commit 095d565

Please sign in to comment.