site.yml (1250B)
1 # This file was generated by upptime/uptime-monitor@v1.26.1 2 # 3 # =============================== 4 # Do not edit this file directly! 5 # =============================== 6 # 7 # Your changes will be overwritten when the template updates (daily) 8 # Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs 9 10 name: Static Site CI 11 on: 12 schedule: 13 - cron: "0 1 * * *" 14 repository_dispatch: 15 types: [static_site] 16 workflow_dispatch: 17 jobs: 18 release: 19 name: Build and deploy site 20 runs-on: ubuntu-18.04 21 if: "!contains(github.event.head_commit.message, '[skip ci]')" 22 steps: 23 - name: Checkout 24 uses: actions/checkout@v2.3.3 25 with: 26 ref: ${{ github.head_ref }} 27 token: ${{ secrets.GITHUB_TOKEN }} 28 - name: Generate site 29 uses: upptime/uptime-monitor@v1.26.1 30 with: 31 command: "site" 32 env: 33 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 34 - uses: peaceiris/actions-gh-pages@v3.7.3 35 name: GitHub Pages Deploy 36 with: 37 github_token: ${{ secrets.GITHUB_TOKEN }} 38 publish_dir: "site/status-page/__sapper__/export/" 39 user_name: "Upptime Bot" 40 user_email: "73812536+upptime-bot@users.noreply.github.com"