Build Web3 #2554
This file contains 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
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake | |
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby | |
name: Build Web3 | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '40 23 * * *' | |
push: | |
paths: | |
- 'web3.ini' | |
jobs: | |
updatefeeds: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0.0 | |
- name: Install dependencies | |
run: bundle install | |
- name: build web3 | |
run: bundle exec pluto b web3.ini -t web3 -o docs/web3 | |
- name: Deploy Files | |
run: | | |
git remote add gh-token "https://github.com/identosphere/identity-blogcatcher.git" | |
git config user.name "github-actions[bot]" # I use the GitHub Actions bot here. | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git pull | |
git add . | |
git commit -a -m "update web3" | |
git push gh-token master | |
- name: Debug Medium | |
run: | |
curl -sSL https://medium.com/feed/@DickHardt |