From 095d56592d0b8eedab3ac14cd18d08f8cbec6cd5 Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Thu, 16 May 2024 11:01:01 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6ee235d --- /dev/null +++ b/.github/workflows/main.yml @@ -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