Skip to content

fix: add badge for courseRating and adjust layout (#1851) #20

fix: add badge for courseRating and adjust layout (#1851)

fix: add badge for courseRating and adjust layout (#1851) #20

Workflow file for this run

name: CD
on:
push:
branches: [ master ]
jobs:
deploy:
if: github.repository_owner == 'eesast'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to DockerHub
run: echo "${{secrets.DOCKER_PASSWORD}}" | docker login -u "${{secrets.DOCKER_USERNAME}}" --password-stdin
- name: Build docker image
shell: bash
run: docker build -t eesast/web:latest .
- name: Push docker image
shell: bash
run: docker push eesast/web:latest
- name: Trigger watchtower on server
run: |
curl "https://eesast.com/v1/update?image=eesast%2Fweb" \
-H "Authorization: Bearer ${{ secrets.WATCHTOWER_HTTP_API_TOKEN }}"