Skip to content

delete premium in time #43

delete premium in time

delete premium in time #43

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 -L ${{ secrets.DEPLOY_URL }}