setup.yml (1959B)
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: Setup CI 11 on: 12 push: 13 paths: 14 - ".upptimerc.yml" 15 repository_dispatch: 16 types: [setup] 17 workflow_dispatch: 18 jobs: 19 release: 20 name: Setup Upptime 21 runs-on: ubuntu-18.04 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: Update template 29 uses: upptime/uptime-monitor@v1.26.1 30 with: 31 command: "update-template" 32 env: 33 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 34 - name: Update response time 35 uses: upptime/uptime-monitor@v1.26.1 36 with: 37 command: "response-time" 38 env: 39 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 40 SECRETS_CONTEXT: ${{ toJson(secrets) }} 41 - name: Update summary in README 42 uses: upptime/uptime-monitor@v1.26.1 43 with: 44 command: "readme" 45 env: 46 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 47 - name: Generate graphs 48 uses: benc-uk/workflow-dispatch@v1 49 with: 50 workflow: Graphs CI 51 token: ${{ secrets.GITHUB_TOKEN }} 52 - name: Generate site 53 uses: upptime/uptime-monitor@v1.26.1 54 with: 55 command: "site" 56 env: 57 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 58 - uses: peaceiris/actions-gh-pages@v3.7.3 59 name: GitHub Pages Deploy 60 with: 61 github_token: ${{ secrets.GITHUB_TOKEN }} 62 publish_dir: "site/status-page/__sapper__/export/" 63 user_name: "Upptime Bot" 64 user_email: "73812536+upptime-bot@users.noreply.github.com"