mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 23:41:21 +00:00
Merge pull request #38 from bartvdbraak/feat/unlighthouse
Use Bot as commit author
This commit is contained in:
commit
a041503ffb
2 changed files with 2 additions and 4 deletions
4
.github/workflows/gh-pages-cleanup.yaml
vendored
4
.github/workflows/gh-pages-cleanup.yaml
vendored
|
@ -20,14 +20,12 @@ jobs:
|
|||
- name: Delete directory in gh-pages
|
||||
if: github.event.ref_type == 'branch'
|
||||
run: |
|
||||
git config --global user.email "support@github.com"
|
||||
git config --global user.name "cleanup[bot]"
|
||||
git fetch --all
|
||||
git checkout gh-pages
|
||||
branchName=$(echo "${{ github.event.ref }}" | sed -e 's,^refs/heads/,,')
|
||||
if [ -d "./${branchName}" ]; then
|
||||
git rm -rf --ignore-unmatch "${branchName}"
|
||||
git commit -m "Cleanup directory for deleted branch ${branchName}"
|
||||
git commit -m "Cleanup directory for deleted branch ${branchName}" --author="github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
|
||||
git push origin gh-pages
|
||||
else
|
||||
echo "Directory doesn't exist for branch ${branchName}"
|
||||
|
|
2
.github/workflows/lighthouse-report.yaml
vendored
2
.github/workflows/lighthouse-report.yaml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
|||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
with:
|
||||
deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
|
||||
timeout: 30
|
||||
timeout: 60
|
||||
|
||||
- name: Build Unlighthouse report
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue