Skip to content

Commit

Permalink
add/auto-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
0zd0 committed Jun 13, 2024
1 parent 41edc65 commit eecdaf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ jobs:
- name: Update Plugin Name
run: |
export TZ=Europe/Moscow
BRANCH_NAME=${{ env.BRANCH_NAME }}
CURRENT_DATE=$(date +"%d.%m.%Y %H:%M:%S")
sed -i "s/\(Plugin Name: .*\)/\1 (${BRANCH_NAME})/" reepay-woocommerce-payment.php
sed -i "s/\(Description: .*\)/\1 (Upload date: ${CURRENT_DATE})/" reepay-woocommerce-payment.php
- name: Build and zip project
run: |
Expand Down

0 comments on commit eecdaf8

Please sign in to comment.