mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
ci: auto deploy [skip ci]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user