Skip to content

Commit

Permalink
test publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
RVanhuysseXenit committed Jul 10, 2024
1 parent 5ab5158 commit de2a47f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/website-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
jobs:
alfred-api-docs:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/heads/release') }}
steps:
- name: Check out
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ tasks.register("deployWebsiteToWebHost") {
def today = format.format(date)
put from: file("${layout.buildDirectory.get()}/website-alfred-api_${today}.tar.gz"), into: "${remoteHomeDir}/docs.xenit.eu/"
execute "mv ${remoteHomeDir}/docs.xenit.eu/alfred-api ${remoteHomeDir}/docs.xenit.eu/alfred-api_${today}_back"
execute "tar vxzf ${remoteHomeDir}/docs.xenit.eu/website-alfred-api_${today}.tar.gz -C ${remoteHomeDir}/docs.xenit.eu/"
execute "mkdir -p ${remoteHomeDir}/docs.xenit.eu/back/"
execute "tar vxzf ${remoteHomeDir}/docs.xenit.eu/website-alfred-api_${today}.tar.gz -C ${remoteHomeDir}/docs.xenit.eu/back/"
execute "tar vczf ${remoteHomeDir}/docs.xenit.eu/alfred-api_${today}_back.tar.gz -C ${remoteHomeDir}/docs.xenit.eu alfred-api_${today}_back"
remove "${remoteHomeDir}/docs.xenit.eu/alfred-api_${today}_back"
}
Expand Down

0 comments on commit de2a47f

Please sign in to comment.