Skip to content

Commit

Permalink
Actions releases jcayouette (#2683)
Browse files Browse the repository at this point in the history
* update

* testing releases

* fixed name

* testing releases
  • Loading branch information
jcayouette authored Dec 13, 2023
1 parent 2cfbdb5 commit 946a989
Show file tree
Hide file tree
Showing 44 changed files with 48 additions and 883 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build-and-release-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build and Release Documentation

on:
push:
branches:
- master # or any other branch you want to trigger the action

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Build documentation using Docker
run: |
alias docker='podman'
docker pull [juliogonzalez/uyuni-docs]:[latest]
docker run --rm -v $PWD:/workspace [juliogonzalez/uyuni-docs]:[latest] ./uyuni-docs-helper -r master -o /tmp -c antora-suma -p suma
- name: Archive Documentation
run: |
zip -r documentation.zip [tmp]
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
New release of documentation
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./documentation.zip
asset_name: documentation.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ endif::[]
:sourcedir: .
:imagesdir: images

testing.


== Test Status

Expand Down
21 changes: 0 additions & 21 deletions Release.key

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.1

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.10

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.11

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.12

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.13

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.14

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.15

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.16

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.17

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.18

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.19

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.2

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.20

This file was deleted.

21 changes: 0 additions & 21 deletions Release.key.21

This file was deleted.

Loading

0 comments on commit 946a989

Please sign in to comment.