Update Quotes.md #611
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 characters
name: Xlog | |
on: | |
push: | |
branches: [ "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Allow non-ASCII character | |
run: git config core.quotepath false | |
- name: restore timestamps | |
uses: chetan/git-restore-mtime-action@v1 | |
- name: Install xlog | |
env: | |
XLOG_VERSION: v1.7.8 | |
run: curl --location https://github.com/emad-elsaid/xlog/releases/download/${XLOG_VERSION}/xlog-${XLOG_VERSION}-linux-amd64.tar.gz | tar -xz -C .. | |
- name: Build | |
run: | | |
../xlog \ | |
--build . \ | |
--sitename="Emad Elsaid" \ | |
--theme="light" \ | |
--codestyle="catppuccin-latte" \ | |
--index=Home \ | |
--custom.head=header.html \ | |
--sitemap.domain=www.emadelsaid.com \ | |
--activitypub.domain=www.emadelsaid.com \ | |
--activitypub.username=Emad \ | |
--activitypub.summary="A Software Engineer. Ruby Golang. ๐ช๐ฌ Egyptian ๐ท Youtuber ๐ฎ Casual gamer and ๐ Sci-Fi addict. My opinions are my own" \ | |
--og.domain=www.emadelsaid.com \ | |
--twitter.username=@emad__elsaid \ | |
--github.url=https://github.com/emad-elsaid/emad-elsaid.github.io/edit/master \ | |
--rss.domain=www.emadelsaid.com \ | |
--rss.description="A Software Engineer. Ruby Golang. ๐ช๐ฌ Egyptian ๐ท Youtuber ๐ฎ Casual gamer and ๐ Sci-Fi addict. My opinions are my own" | |
rm *.md | |
chmod -R 0777 . | |
- name: Upload GitHub Pages artifact | |
uses: actions/[email protected] | |
with: | |
path: . | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |