This is an automated email from the ASF dual-hosted git repository. dfoulks pushed a commit to branch dfoulks/pelican-gha in repository https://gitbox.apache.org/repos/asf/petri.git
The following commit(s) were added to refs/heads/dfoulks/pelican-gha by this push: new 1d205be Using GHA vars for path info 1d205be is described below commit 1d205befffc991365cdd54285afb90ccb12ea036 Author: Drew <dfou...@apache.org> AuthorDate: Fri May 17 14:49:10 2024 -0400 Using GHA vars for path info --- .github/workflows/build-pelican.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-pelican.yml b/.github/workflows/build-pelican.yml index b2e8617..89e94ee 100644 --- a/.github/workflows/build-pelican.yml +++ b/.github/workflows/build-pelican.yml @@ -29,7 +29,7 @@ jobs: ####################### - name: Generate website from markdown run: /usr/bin/env python3 -m pelican content -o output - working-directory: '/home/runner/work/petri/petri' + working-directory: "${{ GITHUB_WORKDIR }}/${{ GITHUB_REPOSITORY.split('/')[-1] }}" - name: Open a PR against the staging branch uses: peter-evans/create-pull-request@v6.0.5 with: