Skip to content

1、尝试修复修国际版文案 #1

1、尝试修复修国际版文案

1、尝试修复修国际版文案 #1

Workflow file for this run

name: Lighthouse
"on": [push]
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: zendesk/checkout@v2
- run: "sudo apt-get install zip"
- run: "zip --exclude=*.git* -r theme.zip ."
- uses: zendesk/setup-ruby@v1
with:
ruby-version: '2.6'
- run: gem install faraday -v 0.16.0
- run: gem install faraday_middleware -v 0.13.1
- run: npm install [email protected]
- run: ruby ./.github/workflows/theme_upload.rb
env:
zendesk_email: ${{ secrets.zendesk_email }}
zendesk_token: ${{ secrets.zendesk_token }}
brand_id: ${{ secrets.brand_id }}
subdomain: ${{ secrets.subdomain }}
- name: Audit URLs using Lighthouse
uses: zendesk/lighthouse-ci-action@v3
with:
urls: |
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/categories/360002267479
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/sections/360003307259
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/articles/360010829359
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests/new
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/search?utf8=%E2%9C%93&query=Help+Center
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/topics
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/topics/360000644279
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts/360006766799
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/profiles/364655812519
https://${{ secrets.subdomain }}.zendesk.com/hc/contributions/posts?locale=en-us
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/subscriptions
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/requests/3
https://${{ secrets.subdomain }}.zendesk.com/hc/en-us/community/posts/new
configPath: ./.github/workflows/lighthouserc.json
env:
end_user_email: ${{ secrets.end_user_email }}
end_user_password: ${{ secrets.end_user_password }}
subdomain: ${{ secrets.subdomain }}