-
Notifications
You must be signed in to change notification settings - Fork 9
executable file
·41 lines (37 loc) · 1.21 KB
/
web3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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