commit 466fde7da78f53c7378f576acfbf916777f8a8ca parent 70f60b811fda9c0504c41b36bf80652885755dff Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 26 Jul 2026 02:37:44 +0000 ci: install with digitalocean Diffstat:
| M | .github/workflows/install.yml | | | 17 | +++++++++++++---- |
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml @@ -9,7 +9,16 @@ jobs: install: runs-on: ubuntu-24.04 steps: - - name: Run install script - run: | - curl -sSL https://raw.githubusercontent.com/unitehenry/amish/master/install.sh -o /tmp/install.sh - sudo WIZARD=0 bash /tmp/install.sh + - name: Install doctl + uses: digitalocean/action-doctl@v2 + with: + token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} + + - name: Checkout + uses: actions/checkout@v7 + + - name: Run deploy script + run: doctl apps create --project-id 4dfa384f-7eb2-4e58-956e-5669bd432e7a --spec deploy.template.yaml --wait + + - name: Cleanup + run: doctl apps delete $(doctl apps list | grep amish | awk '{ print $1 }') --force