Last active
October 25, 2022 08:53
-
-
Save ras0q/ee1f80e99f804a7a27e93dc3e1e23f78 to your computer and use it in GitHub Desktop.
Revisions
-
ras0q revised this gist
Oct 25, 2022 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: docker://marpteam/marp-cli:latest with: args: -o ./dist/index.html ./docs/slide.md env: MARP_USER: root:root - uses: actions/upload-pages-artifact@v1 with: path: dist -
ras0q created this gist
Oct 25, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ name: pages on: push: branches: - 'main' paths: - 'docs/**' - '.github/workflows/pages.yml' pull_request: jobs: marp: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: make marp - uses: actions/upload-pages-artifact@v1 with: path: dist deploy: needs: - marp permissions: pages: write id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - uses: actions/deploy-pages@v1 id: deployment