add MIT license #13
This file contains hidden or 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
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - closed | |
| jobs: | |
| remove: | |
| if: github.event.pull_request.merged == true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: "Installing lttle cli" | |
| run: | | |
| curl -fsSL https://install.lttle.sh | bash | |
| - name: "Authenticating with eu.lttle.cloud" | |
| env: | |
| LTTLE_JWT_TOKEN: ${{ secrets.LTTLE_JWT_TOKEN }} | |
| run: | | |
| lttle login --api "https://eu.lttle.cloud" "$LTTLE_JWT_TOKEN" | |
| - name: "Remove Preview Deployment" | |
| run: | | |
| ./remove.sh |