diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45bd390d3..747dda99a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,6 +155,15 @@ jobs: cd OctoBot python start.py tentacles -m "../metadata.yaml" -d "../new_tentacles" -p "../../any_platform.zip" -upe ${{ secrets.TENTACLES_OFFICIAL_PATH }}/packages/full/${{ secrets.TENTACLES_REPOSITORY_NAME }}/ + - name: Publish stable tentacles + if: github.ref == 'refs/heads/master' + env: + S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }} + run: | + sed -i "s/VERSION_PLACEHOLDER/stable/g" metadata.yaml + cd OctoBot + python start.py tentacles -m "../metadata.yaml" -d "../new_tentacles" -p "../../any_platform.zip" -upe ${{ secrets.TENTACLES_OFFICIAL_PATH }}/packages/full/${{ secrets.TENTACLES_REPOSITORY_NAME }}/ + - name: Publish cleaned branch tentacles if: startsWith(github.ref, 'refs/tags') != true && github.ref != 'refs/heads/master' env: