Skip to content

Commit

Permalink
feat: keep the latest Pages artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Jan 9, 2025
1 parent 3a94138 commit 476c013
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/share/rsdk/infra-repo/.github/workflows/update.yaml.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,26 @@ function(
popd
|||,
},
{
name: "Download Pages artifact",
uses: "actions/download-artifact@v4",
with: {
name: "github-pages",
},
},
{
name: "Release Pages artifact",
"if": "steps.deploy.outcome == 'success'",
uses: "softprops/action-gh-release@v2",
with: {
tag_name: "github-pages",
body: "Rolling Pages artifact",
files: "artifact.tar",
draft: false,
prerelease: false,
token: "${{ secrets.GITHUB_TOKEN }}",
},
},
],
},
},
Expand Down

0 comments on commit 476c013

Please sign in to comment.