Skip to content

Update parser.py

Update parser.py #164

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: salkoua
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: salkoua/parsebotforsale:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Activate update script
if: github.event_name != 'pull_request'
run: |
curl -X POST -H "Content-Type: application/json" -d '{"token":"${{ secrets.DEPLOY_TOKEN }}", "project": "parsebotforsale"}' https://auto-update.perchun.it