Skip to content

Commit e50749b

Browse files
committed
remove deploy step
1 parent d5598ae commit e50749b

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.github/workflows/cicd.yml

+1-25
Original file line numberDiff line numberDiff line change
@@ -141,33 +141,9 @@ jobs:
141141
if: github.ref == 'refs/heads/master'
142142
needs: [lint, test, typecheck, build]
143143
runs-on: ubuntu-latest
144-
permissions:
145-
packages: read
146-
concurrency:
147-
group: deploy
148144
environment:
149145
name: prod
150146
url: https://arm.haglund.dev/api
151147

152148
steps:
153-
- name: Login to GitHub Container Registry
154-
if: github.ref == 'refs/heads/master'
155-
uses: docker/login-action@v3
156-
with:
157-
registry: ghcr.io
158-
username: ${{ github.actor }}
159-
password: ${{ secrets.GITHUB_TOKEN }}
160-
161-
- uses: actions/checkout@v4
162-
163-
- name: Declare some variables
164-
id: sha
165-
shell: bash
166-
run: echo "short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
167-
168-
- name: Push to dokku
169-
uses: dokku/github-action@v1.4.0
170-
with:
171-
git_remote_url: "ssh://dokku@${{ secrets.SERVER_IP }}:22/arm-server"
172-
deploy_docker_image: "ghcr.io/beeequeue/arm-server:${{ steps.sha.outputs.short }}"
173-
ssh_private_key: ${{ secrets.DOKKU_PRIVATE_KEY }}
149+
- run: echo 'Deployed! :)'

0 commit comments

Comments
 (0)