This commit is contained in:
smf
2024-03-10 21:15:23 +08:00
parent a54b6b1169
commit 655988c39c

View File

@@ -44,6 +44,7 @@ jobs:
run: |
echo "Change Version"
MODULE=$(echo ${{ github.repository }} | sed "s/${{ github.repository_owner }}\///" | sed 's/-/_/g' | tr a-z A-Z | sed 's/OLMS/VERSION/') && touch .env.version && sed -i "s/^$MODULE=.*/$MODULE=pr-${{ github.event.number }}-head/" .env.version
echo "cat .env.version:"
cat .env.version
- name: Deploy to Dev Host on pr