ci: auto deploy [skip ci]

This commit is contained in:
ReaJason
2025-02-02 17:40:44 +08:00
parent 164a27bafd
commit 5b9b890fc8
+16 -1
View File
@@ -87,4 +87,19 @@ jobs:
push: true
tags: |
reajason/memshell-party:latest
ghcr.io/reajason/memshell-party:latest
ghcr.io/reajason/memshell-party:latest
deploy-northflank:
name: Deploy to Northflank
needs: [ docker-push ]
runs-on: ubuntu-latest
env:
NORTHFLANK_API_KEY: ${{ secrets.NORTHFLANK_API_KEY }}
steps:
- name: Update Deployment
run: |
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer $NORTHFLANK_API_KEY" \
--request POST \
--data '{"external":{"imagePath":"docker.io/reajason/memshell-party:latest","credentials":"docker-hub"},"docker":{"configType":"default"}}' \
https://api.northflank.com/v1/projects/memshellparty/services/memshellparty/deployment