Skip to content

Commit

Permalink
[CI] Add stable upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Herklos committed Oct 2, 2023
1 parent 2104883 commit 552f8aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 552f8aa

Please sign in to comment.