Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/build-sphinx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,15 @@ jobs:
deploy:
permissions:
contents: write
environment:
name: release
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs:
- build
if: success() && github.ref == 'refs/heads/main'
if: success() && startsWith(github.ref, 'refs/tags/')
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Checkout
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Display all downloaded archives/artifacts
run: |
ls -lah
Expand All @@ -78,11 +75,10 @@ jobs:

echo "
Creating checksums.txt..."
sha512sum salt-install-guide.tar.gz salt.repo salt.sources > tee checksums.txt
sha512sum salt-install-guide.tar.gz salt.repo salt.sources | tee checksums.txt

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
checksums.txt
Expand Down