name: release on: push: branches: [main] permissions: {} env: TARGET: production jobs: deploy: uses: ./.github/workflows/deploy.yml with: environment: ${{ env.TARGET }} secrets: DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}