Fixed duplicate event of "card activated for the first time" #443
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Deployment | |
on: | |
push: | |
branches: [ main ] | |
concurrency: production_environment | |
jobs: | |
deploy: | |
environment: production | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.2" | |
- name: Composer Install | |
run: composer install --ignore-platform-reqs | |
- name: Run Tests | |
run: vendor/bin/phpunit | |
- name: Deploy | |
uses: deployphp/action@v1 | |
with: | |
private-key: ${{ secrets.SSH_KEY }} | |
dep: deploy |