Skip to content

Commit

Permalink
Create CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast authored Jan 9, 2024
1 parent fa1cdb1 commit a1c52ca
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CD

on:
push:
branches: [ "develop" ]

env:
HOST: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
KEY: ${{ secrets.SSH_KEY }}
PORT: ${{ secrets.PORT }}

jobs:
deploy-ci:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./deploy/Dockerfile
push: true
tags: lequu/lequu-client:latest

0 comments on commit a1c52ca

Please sign in to comment.