bike: add more rides #122
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: Build Post | |
| on: | |
| push: | |
| branches: [ pre-deploy ] | |
| jobs: | |
| workflow: | |
| name: Build the Blog Pages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.16.1' # The Go version to download (if necessary) and use. | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.3.5' | |
| - name: Checkout Repo | |
| uses: actions/checkout@v3 | |
| - name: Checkout openring | |
| run: git clone https://git.sr.ht/~sircmpwn/openring | |
| - name: Build openring | |
| run: | | |
| go build | |
| working-directory: openring | |
| - name: Generate openring posts | |
| run: ./openring/openring -s https://www.supergoodcode.com/feed.xml -s https://emersion.fr/blog/atom.xml -s https://drewdevault.com/blog/index.xml < in.html > _includes/openring.html | |
| - name: Build tags | |
| run: python _plugins/compile_tags.py | |
| - name: 🔨 install dependencies & build site | |
| uses: limjh16/jekyll-action-ts@v2 | |
| with: | |
| enable_cache: true | |
| - name: 🚀 deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./_site |