Skip to content

Commit

Permalink
Fix deploy properly downloading artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptAutomate committed Nov 27, 2024
1 parent 2e2de2a commit 83357d3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-sphinx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,15 @@ jobs:
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() && github.ref == 'refs/heads/main'
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,7 +77,7 @@ 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
Expand Down

0 comments on commit 83357d3

Please sign in to comment.