Skip to content

minimal remaining work for sharing docs phase-1 #8

minimal remaining work for sharing docs phase-1

minimal remaining work for sharing docs phase-1 #8

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