fief #49
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
--- | |
name: fief | |
on: | |
schedule: | |
- cron: "13 4 * * *" | |
concurrency: | |
group: fief | |
cancel-in-progress: true | |
jobs: | |
fief: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- run: gem install fief | |
- run: | | |
fief --token ${{ secrets.TOKEN }} --delay 1000 \ | |
--include objectionary/* \ | |
--include polystat/* \ | |
--exclude objectionary/.github \ | |
--exclude polystat/.github \ | |
--to html | |
- run: mkdir gh-pages | |
- run: cp html/index.html gh-pages/fief.html | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: gh-pages | |
clean: false |