Skip to content

chore(deps): update dependency electron to v30 #118

chore(deps): update dependency electron to v30

chore(deps): update dependency electron to v30 #118

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