Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo COVES committed Jan 11, 2024
1 parent e5ee877 commit 937a9c2
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: github-pages

on:
- push

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- run: mkdir -p _site

- uses: docker://pandoc/core
with:
args: >-
index.md
--output _site/index.html
--from markdown+emoji
--to=revealjs
--slide-level=4
--standalone
--embed-resources
- uses: actions/upload-pages-artifact@v2

deploy:
needs: build

permissions:
pages: write
id-token: write

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

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
index.html
33 changes: 33 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# vim: set filetype=revealjs:
# vim: set syntax=markdown:

title: "`Rust` meetup"
subtitle: "Sharing is caring"

revealjs-url: https://unpkg.com/reveal.js@latest
theme: solarized

header-includes: |
<style>
:root {
.reveal {
background-image: url("https://www.rustacean.net/assets/rustacean-flat-happy.svg");
background-repeat: no-repeat;
background-size: 5vw 5vw;
background-position: 2vw calc(100% - 2vw);
}
.columns {
justify-content: center;
align-items: center;
}
}
</style>
---

# Code of conduct

* Be kind to each other: no sexism, racism or any similar ism can be tolerated;
* Don't ask to ask, just ask: there is no such a thing as a bad question;
* Constructive and reasoned feedback is encouraged.

0 comments on commit 937a9c2

Please sign in to comment.