Skip to content

Commit

Permalink
Refresh publishing to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Jan 24, 2024
1 parent cdceb90 commit 7660665
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches: ['main']

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

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo '{"markdown-to-html":{"document":{"title":"kubawerlos/slides"}}}' > .markdown-to-html-cli.config.json
- uses: jaywcjlove/markdown-to-html-cli@main
with:
config: .markdown-to-html-cli.config.json
github-corners: https://github.com/kubawerlos/slides
dark-mode: false
favicon: https://avatars.githubusercontent.com/u/9282069
- uses: actions/upload-pages-artifact@v3
with:
path: .
- uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<h1 align="center">kubawerlos/slides</h1>

- 2019-02-13 PHPers Wrocław #8 - [Composer: good practices](2019-02-13_PHPers_Wroclaw_Composer_good_practices.pdf)
- 2019-03-26 Warszawskie Dni Informatyki - [Wprowadzenie do PHPUnit](2019-03-26_Warszawskie_Dni_Informatyki_Wprowadzenie_do_PHPUnit.html)
- 2020-03-04 PHPers Wrocław #9 - [The Dirty Dozen](2020-03-04_PHPers_Wroclaw_The_Dirty_Dozen.html)
Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

0 comments on commit 7660665

Please sign in to comment.