projects
/
m6w6
/
m6w6.github.io
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
492a5e7
)
Update sync_site.yml
author
Michael Wallner
<mike@php.net>
Fri, 21 Jan 2022 17:03:40 +0000
(18:03 +0100)
committer
GitHub
<noreply@github.com>
Fri, 21 Jan 2022 17:03:40 +0000
(18:03 +0100)
.github/workflows/sync_site.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/sync_site.yml
b/.github/workflows/sync_site.yml
index f14288ef9e84bbf9ecd2afb847deb44c369bfda2..d2eae51b30dee19ead6e03cf109218f3a452bc9e 100644
(file)
--- a/
.github/workflows/sync_site.yml
+++ b/
.github/workflows/sync_site.yml
@@
-15,10
+15,11
@@
jobs:
with:
result-encoding: string
script: |
with:
result-encoding: string
script: |
+ console.log(context);
const artifact_id = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
const artifact_id = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
- run_id: context.payload.workflow.run_id,
+ run_id: context.payload.
event.
workflow.run_id,
per_page: 1,
});
console.log(artifact_id);
per_page: 1,
});
console.log(artifact_id);