stop shuttle deployment #17
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: Shuttle Deploy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Shuttle CLI | |
run: | | |
curl -sSL https://shuttle.rs/install.sh | bash | |
- name: Login | |
run: | | |
shuttle login --api-key ${{ secrets.SHUTTLE_API_KEY }} | |
- name: Destroy Shuttle Project | |
run: | | |
shuttle destroy stop amd |