You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using playwright with allure report but i am running into an issue with using destination_dir
name: Playwright E2E Testson:
workflow_dispatch:
inputs:
project:
description: 'Select the Browser to be used for E2E Testing'required: truedefault: 'run_workflow_chromium'type: choiceoptions:
- run_workflow_chromium
- run_workflow_firefox
- run_workflow_webkitschedule:
- cron: "0 0,10,20 * * *"jobs:
run-playwright-e2e:
timeout-minutes: 60runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4with:
node-version: lts/*...playwright stuff...
- name: Upload test resultsif: ${{ !cancelled() }}uses: actions/upload-artifact@v4with:
name: playwright-resultspath: playwright-test-results/allure-resultspublish-results:
needs: run-playwright-e2eruns-on: ubuntu-latestif: always()steps:
- name: Download test resultsuses: actions/download-artifact@v4with:
name: playwright-resultspath: playwright-test-results/allure-results
- name: Load test report historyuses: actions/checkout@v4if: always()continue-on-error: truewith:
ref: allure-report # branch-name to copy history frompath: latest-test-results
- name: Build test reportuses: simple-elf/[email protected]if: always()with:
gh_pages: latest-test-resultsallure_history: allure-historyallure_results: playwright-test-results/allure-results
- name: Publish test reportuses: peaceiris/actions-gh-pages@v4if: always()with:
github_token: ${{ secrets.GITHUB_TOKEN }}publish_branch: allure-report # branch-name to paste history topublish_dir: allure-historydestination_dir: subdir1
I have an issue in the publish-results job with destination_dir:
Without setting it everything works, but it is being published into root.
As soon as i set it i get some error messages inside the runner and the dir it created is a link to a repo that doesn't exist.
I would be grateful, if someone can help me with this 🙏
Here is the log from the runner:
[group]Run peaceiris/actions-gh-pages@v4
2025-01-28T11:01:35.8575827Z with:
2025-01-28T11:01:35.8576223Z github_token: ***
2025-01-28T11:01:35.8576426Z publish_branch: allure-report
2025-01-28T11:01:35.8576666Z publish_dir: allure-history
2025-01-28T11:01:35.8576885Z destination_dir: ./subdir1
2025-01-28T11:01:35.8577093Z keep_files: false
2025-01-28T11:01:35.8577291Z allow_empty_commit: false
2025-01-28T11:01:35.8577494Z force_orphan: false
2025-01-28T11:01:35.8577682Z enable_jekyll: false
2025-01-28T11:01:35.8577875Z disable_nojekyll: false
2025-01-28T11:01:35.8578070Z exclude_assets: .github
2025-01-28T11:01:35.8578262Z ##[endgroup]
2025-01-28T11:01:35.9194632Z [INFO] Usage https://github.com/peaceiris/actions-gh-pages#readme
2025-01-28T11:01:35.9199472Z ##[group]Dump inputs
2025-01-28T11:01:35.9199800Z [INFO] GithubToken: true
2025-01-28T11:01:35.9200109Z [INFO] PublishBranch: allure-report
2025-01-28T11:01:35.9200459Z [INFO] PublishDir: allure-history
2025-01-28T11:01:35.9200761Z [INFO] DestinationDir: ./subdir1
2025-01-28T11:01:35.9201006Z [INFO] ExternalRepository:
2025-01-28T11:01:35.9201242Z [INFO] AllowEmptyCommit: false
2025-01-28T11:01:35.9201468Z [INFO] KeepFiles: true
2025-01-28T11:01:35.9201673Z [INFO] ForceOrphan: false
2025-01-28T11:01:35.9201878Z [INFO] UserName:
2025-01-28T11:01:35.9202086Z [INFO] UserEmail:
2025-01-28T11:01:35.9202352Z [INFO] CommitMessage:
2025-01-28T11:01:35.9202603Z [INFO] FullCommitMessage:
2025-01-28T11:01:35.9202944Z [INFO] TagName:
2025-01-28T11:01:35.9203130Z [INFO] TagMessage:
2025-01-28T11:01:35.9203506Z [INFO] EnableJekyll (DisableNoJekyll): false
2025-01-28T11:01:35.9203767Z [INFO] CNAME:
2025-01-28T11:01:35.9203959Z [INFO] ExcludeAssets .github
2025-01-28T11:01:35.9204110Z
2025-01-28T11:01:35.9204513Z ##[endgroup]
2025-01-28T11:01:35.9204981Z ##[group]Setup auth token
2025-01-28T11:01:35.9205208Z [INFO] setup GITHUB_TOKEN
2025-01-28T11:01:35.9206056Z ##[endgroup]
2025-01-28T11:01:35.9206472Z ##[group]Prepare publishing assets
2025-01-28T11:01:35.9210049Z [INFO] ForceOrphan: false
2025-01-28T11:01:35.9257532Z [command]/usr/bin/git clone --depth=1 --single-branch --branch allure-report ***github.com/elAlmani/hyades.git /home/runner/actions_github_pages_1738062095920
2025-01-28T11:01:35.9298425Z Cloning into '/home/runner/actions_github_pages_1738062095920'...
2025-01-28T11:01:37.0596988Z [INFO] chdir /home/runner/actions_github_pages_1738062095920
2025-01-28T11:01:37.0597544Z [INFO] prepare publishing assets
2025-01-28T11:01:37.0598083Z [INFO] delete /home/runner/work/hyades/hyades/allure-history/.git
2025-01-28T11:01:37.0623372Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/FETCH_HEAD
2025-01-28T11:01:37.0625668Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/HEAD
2025-01-28T11:01:37.0627238Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/config
2025-01-28T11:01:37.0628349Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/config.worktree
2025-01-28T11:01:37.0629480Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/description
2025-01-28T11:01:37.0630701Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/applypatch-msg.sample
2025-01-28T11:01:37.0632031Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/commit-msg.sample
2025-01-28T11:01:37.0633506Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/fsmonitor-watchman.sample
2025-01-28T11:01:37.0634432Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/post-update.sample
2025-01-28T11:01:37.0635913Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/pre-applypatch.sample
2025-01-28T11:01:37.0637263Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/pre-commit.sample
2025-01-28T11:01:37.0638563Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/pre-merge-commit.sample
2025-01-28T11:01:37.0639545Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/pre-push.sample
2025-01-28T11:01:37.0640698Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/pre-rebase.sample
2025-01-28T11:01:37.0641970Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/pre-receive.sample
2025-01-28T11:01:37.0643161Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/prepare-commit-msg.sample
2025-01-28T11:01:37.0644489Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/push-to-checkout.sample
2025-01-28T11:01:37.0645705Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/sendemail-validate.sample
2025-01-28T11:01:37.0646904Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks/update.sample
2025-01-28T11:01:37.0648052Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/hooks
2025-01-28T11:01:37.0649017Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/index
2025-01-28T11:01:37.0649791Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/info/exclude
2025-01-28T11:01:37.0650467Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/info
2025-01-28T11:01:37.0651532Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/HEAD
2025-01-28T11:01:37.0652550Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/refs/heads/allure-report
2025-01-28T11:01:37.0653989Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/refs/heads
2025-01-28T11:01:37.0655324Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/refs/remotes/origin/allure-report
2025-01-28T11:01:37.0656911Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/refs/remotes/origin
2025-01-28T11:01:37.0658216Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/refs/remotes
2025-01-28T11:01:37.0659258Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs/refs
2025-01-28T11:01:37.0660368Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/logs
2025-01-28T11:01:37.0661349Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/objects/info
2025-01-28T11:01:37.0662729Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/objects/pack/pack-253f267bc3f9583dc7fb1c59a9d8506927a9ac02.idx
2025-01-28T11:01:37.0664194Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/objects/pack/pack-253f267bc3f9583dc7fb1c59a9d8506927a9ac02.pack
2025-01-28T11:01:37.0666039Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/objects/pack/pack-253f267bc3f9583dc7fb1c59a9d8506927a9ac02.rev
2025-01-28T11:01:37.0667517Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/objects/pack
2025-01-28T11:01:37.0668345Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/objects
2025-01-28T11:01:37.0669623Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs/heads/allure-report
2025-01-28T11:01:37.0670376Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs/heads
2025-01-28T11:01:37.0671136Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs/remotes/origin/allure-report
2025-01-28T11:01:37.0671946Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs/remotes/origin
2025-01-28T11:01:37.0672686Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs/remotes
2025-01-28T11:01:37.0673518Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs/tags
2025-01-28T11:01:37.0674179Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/refs
2025-01-28T11:01:37.0674813Z rm: could not remove file (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git/shallow
2025-01-28T11:01:37.0675427Z rm: could not remove directory (code EACCES): /home/runner/work/hyades/hyades/allure-history/.git
2025-01-28T11:01:37.0676133Z [INFO] copy /home/runner/work/hyades/hyades/allure-history to /home/runner/actions_github_pages_1738062095920/subdir1
2025-01-28T11:01:37.3382510Z [INFO] delete excluded assets
2025-01-28T11:01:37.3412520Z rm: no paths given
2025-01-28T11:01:37.3416039Z ##[endgroup]
2025-01-28T11:01:37.3416689Z ##[group]Setup Git config
2025-01-28T11:01:37.3425650Z [command]/usr/bin/git remote rm origin
2025-01-28T11:01:37.3485288Z [command]/usr/bin/git remote add origin ***github.com/elAlmani/hyades.git
2025-01-28T11:01:37.3530856Z [command]/usr/bin/git add --all
2025-01-28T11:01:37.4007614Z [command]/usr/bin/git config user.name elAlmani
2025-01-28T11:01:37.4049293Z [command]/usr/bin/git config user.email [email protected]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using playwright with allure report but i am running into an issue with using destination_dir
I have an issue in the publish-results job with destination_dir:
Without setting it everything works, but it is being published into root.
As soon as i set it i get some error messages inside the runner and the dir it created is a link to a repo that doesn't exist.
I would be grateful, if someone can help me with this 🙏
Here is the log from the runner:
Beta Was this translation helpful? Give feedback.
All reactions