chore(deps): update dependency electron to v33.1.0 #418
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |