Skip to content

fix: fix some bugs in honorapplication and weekly page (#1995) #342

fix: fix some bugs in honorapplication and weekly page (#1995)

fix: fix some bugs in honorapplication and weekly page (#1995) #342

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 }}"