Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
Fixes #101

.velocitas.json updated manually
The other by velocitas init/sync
  • Loading branch information
erikbosch committed Jun 13, 2024
1 parent 5ac7b1a commit 6ad46ad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
release:
types: [published, edited]

# Needed if GITHUB_TOKEN by default do not have right to create release
permissions:
contents: write
packages: write

jobs:

get-app-name:
Expand Down Expand Up @@ -77,7 +82,12 @@ jobs:
with:
checkName: Merge Trivy results
token: ${{ secrets.GITHUB_TOKEN }}
timeoutSeconds: 1800
# This workflow does not trigger a build, instead it relies on that a successful build
# exists for this commit. If triggering this workflow just after a new commit has been
# uploaded we will need to wait for the "Merge Trivy results" to finish
# Building the default C++ App on Github may take long time, 70 minutes observed
# Setting limit to 100 minutes to have some margin
timeoutSeconds: 6000
intervalSeconds: 20

- name: Download builds from Build multiarch image workflow artifacts
Expand Down Expand Up @@ -146,7 +156,7 @@ jobs:
path: generated_md

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.89.4"
extended: true
Expand Down Expand Up @@ -223,7 +233,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to GH Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{github.workspace}}/hugo/public
Expand Down
2 changes: 1 addition & 1 deletion .velocitas-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages": {
"devenv-runtimes": "v4.0.1",
"devenv-github-workflows": "v6.0.2",
"devenv-github-workflows": "v6.0.3",
"devenv-github-templates": "v1.0.5",
"devenv-devcontainer-setup": "v2.4.0"
}
Expand Down
2 changes: 1 addition & 1 deletion .velocitas.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages": {
"devenv-runtimes": "v4.0.1",
"devenv-github-workflows": "v6.0.2",
"devenv-github-workflows": "v6.0.3",
"devenv-github-templates": "v1.0.5",
"devenv-devcontainer-setup": "v2.4.0"
},
Expand Down

0 comments on commit 6ad46ad

Please sign in to comment.