diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ab3f64e9..35ece2d1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,5 +58,6 @@ jobs: - name: Deploy env: SSH_KEY: ${{ secrets.SSH_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - tests/deploy.sh \ No newline at end of file + tests/deploy.sh diff --git a/tests/deploy.sh b/tests/deploy.sh index c18c0996f..83939bd97 100755 --- a/tests/deploy.sh +++ b/tests/deploy.sh @@ -9,8 +9,7 @@ echo "Branch: $BRANCH" echo "Commit: $COMMIT" echo "Latest tag: $TAG" -# Clean up -madelinePath=$PWD +gh release edit --prerelease=false "$TAG" if [ "$SSH_KEY" != "" ]; then eval "$(ssh-agent -s)"