Build gh-pages #1400
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 gh-pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| schedule: | |
| - cron: "30 6 * * *" | |
| workflow_dispatch: {} | |
| jobs: | |
| build-gh-pages: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v3 | |
| - name: Build | |
| run: | | |
| mkdir pages | |
| cd pages | |
| ../check_stbuehler_exchange_version pages | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./pages |